Minor clangformat changes
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
136ce3d18f
commit
da33da5bc2
@ -91,7 +91,10 @@ struct IdString
|
|||||||
operator const std::string &() const { return str(); }
|
operator const std::string &() const { return str(); }
|
||||||
|
|
||||||
bool operator<(const IdString &other) const { return index < other.index; }
|
bool operator<(const IdString &other) const { return index < other.index; }
|
||||||
bool operator==(const IdString &other) const { return index == other.index; }
|
bool operator==(const IdString &other) const
|
||||||
|
{
|
||||||
|
return index == other.index;
|
||||||
|
}
|
||||||
bool operator==(const std::string &s) const { return str() == s; }
|
bool operator==(const std::string &s) const { return str() == s; }
|
||||||
bool operator==(const char *s) const { return str() == s; }
|
bool operator==(const char *s) const { return str() == s; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user