mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Fixes compilation error "ResourceSet.h:33:21: error: function 'ResourceSet::ResourceSet()' definition is marked dllimport" when building with g++ 12.1.0
This commit is contained in:
@@ -30,7 +30,7 @@ private:
|
||||
public:
|
||||
// read resources set from json. Format example: { "gold": 500, "wood":5 }
|
||||
DLL_LINKAGE ResourceSet(const JsonNode & node);
|
||||
DLL_LINKAGE ResourceSet() = default;
|
||||
DLL_LINKAGE ResourceSet();
|
||||
|
||||
|
||||
#define scalarOperator(OPSIGN) \
|
||||
|
||||
Reference in New Issue
Block a user