mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-01 16:58:29 +00:00
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…
x
Reference in New Issue
Block a user