Increased size of unique identifier of objects: using uint64 instead of

int. Deep change in all concerned objects (Node, Source, Shader, etc.).
No behavior change, just more robust in duration.
This commit is contained in:
brunoherbelin
2020-10-06 22:45:52 +02:00
parent 977ae76f9b
commit 233fc64c4e
23 changed files with 96 additions and 93 deletions

View File

@@ -22,7 +22,7 @@ public:
return _instance;
}
void store(const std::string &label, int id = -1);
void store(const std::string &label, uint64_t id = -1);
void clear();
void undo();
@@ -36,7 +36,7 @@ public:
private:
void restore(uint target, int id);
void restore(uint target, uint64_t id);
tinyxml2::XMLDocument xmlDoc_;
uint step_;