base: add 'String::operator!='
This commit is contained in:
parent
46968c0015
commit
a7fa0ccd06
|
@ -488,6 +488,12 @@ namespace Genode {
|
|||
{
|
||||
return strcmp(string(), other.string()) == 0;
|
||||
}
|
||||
|
||||
template <size_t OTHER_CAPACITY>
|
||||
bool operator != (String<OTHER_CAPACITY> const &other) const
|
||||
{
|
||||
return strcmp(string(), other.string()) != 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue