Minor clangformat changes

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-06-12 15:52:38 +02:00
parent 136ce3d18f
commit da33da5bc2
2 changed files with 7 additions and 4 deletions

View File

@ -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; }