mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
base: add 'String::operator!='
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user