mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Remove unused constructor
This commit is contained in:
@@ -26,12 +26,11 @@ class ResourceSet;
|
||||
class ResourceSet
|
||||
{
|
||||
private:
|
||||
std::array<TResource, GameConstants::RESOURCE_QUANTITY> container;
|
||||
std::array<TResource, GameConstants::RESOURCE_QUANTITY> container = {};
|
||||
public:
|
||||
// read resources set from json. Format example: { "gold": 500, "wood":5 }
|
||||
DLL_LINKAGE ResourceSet(const JsonNode & node);
|
||||
DLL_LINKAGE ResourceSet(TResource wood = 0, TResource mercury = 0, TResource ore = 0, TResource sulfur = 0, TResource crystal = 0,
|
||||
TResource gems = 0, TResource gold = 0, TResource mithril = 0);
|
||||
DLL_LINKAGE ResourceSet() = default;
|
||||
|
||||
|
||||
#define scalarOperator(OPSIGN) \
|
||||
|
||||
Reference in New Issue
Block a user