mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +00:00
parent
d223539165
commit
fe878e65de
@ -33,6 +33,16 @@ struct Genode::Session_label : String<160>
|
||||
using String = String<capacity()>;
|
||||
using String::String;
|
||||
|
||||
/**
|
||||
* Copy constructor
|
||||
*
|
||||
* This constructor is needed because GCC 8 disregards derived
|
||||
* copy constructors as candidate.
|
||||
*/
|
||||
template <size_t N>
|
||||
Session_label(Genode::String<N> const &other)
|
||||
: Genode::String<160>(other) { }
|
||||
|
||||
Session_label last_element() const
|
||||
{
|
||||
char const * const full = string();
|
||||
|
Loading…
Reference in New Issue
Block a user