1
0
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:
Ivan Savenko
2023-11-02 19:57:00 +02:00
parent 184f5a72cc
commit cac37df334
2 changed files with 2 additions and 16 deletions

View File

@@ -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) \