mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-27 04:40:26 +00:00
Should be compared against uint only
This commit is contained in:
parent
b44fc1904b
commit
33ce03dfc5
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ union NAME_T
|
||||||
}
|
}
|
||||||
bool operator!=(const std::string &str) const { return !((*this)==str); }
|
bool operator!=(const std::string &str) const { return !((*this)==str); }
|
||||||
|
|
||||||
bool operator==(int v) const { return v == val; }
|
bool operator==(uint32_t v) const { return v == val; }
|
||||||
bool operator!=(int v) const { return v != val; }
|
bool operator!=(uint32_t v) const { return v != val; }
|
||||||
|
|
||||||
std::string toString() const { return std::string(name, strnlen(name, LEN)); }
|
std::string toString() const { return std::string(name, strnlen(name, LEN)); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue