mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Add 'hasFeature' method for convenience
This commit is contained in:
@@ -162,6 +162,11 @@ public:
|
||||
bool smartPointerSerialization;
|
||||
bool saving;
|
||||
|
||||
bool hasFeature(Version what)
|
||||
{
|
||||
return version >= what;
|
||||
};
|
||||
|
||||
BinaryDeserializer(IBinaryReader * r);
|
||||
|
||||
template<class T>
|
||||
|
||||
Reference in New Issue
Block a user