1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 03:15:32 +00:00

Should be compared against uint only

This commit is contained in:
Nathan Aclander 2015-01-24 17:17:05 -08:00
parent b44fc1904b
commit 33ce03dfc5

View file

@ -40,8 +40,8 @@ union NAME_T
}
bool operator!=(const std::string &str) const { return !((*this)==str); }
bool operator==(int v) const { return v == val; }
bool operator!=(int v) const { return v != val; }
bool operator==(uint32_t 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)); }