mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
fix compare (nw)
This commit is contained in:
parent
a5a301d1fe
commit
3885185274
@ -66,7 +66,7 @@ public:
|
||||
bool operator!=(const hash_collection &rhs) const { return !(*this == rhs); }
|
||||
|
||||
// getters
|
||||
bool flag(char flag) const { return (m_flags.find_first_of(flag) != -1); }
|
||||
bool flag(char flag) const { return (m_flags.find_first_of(flag) != std::string::npos); }
|
||||
const char *hash_types(std::string &buffer) const;
|
||||
|
||||
// hash manipulators
|
||||
|
Loading…
Reference in New Issue
Block a user