mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Added hasValue method to identifiers
This commit is contained in:
@@ -52,6 +52,11 @@ public:
|
||||
num = value;
|
||||
}
|
||||
|
||||
constexpr bool hasValue() const
|
||||
{
|
||||
return num >= 0;
|
||||
}
|
||||
|
||||
struct hash
|
||||
{
|
||||
size_t operator()(const IdentifierBase & id) const
|
||||
|
Reference in New Issue
Block a user