diff options
author | Marius Kintel <marius@kintel.net> | 2010-11-01 03:29:55 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2010-11-01 03:29:55 (GMT) |
commit | e994adddb17262f13b1c755567b20cd197c39252 (patch) | |
tree | 170a9b51f39c5ab225a70c93c1ed84c7a14dadb6 /src/node.h | |
parent | 45a3d59bb7d06b2d0245e2b7f45b03cc6021d5b9 (diff) |
cosmetics
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ class AbstractNode // We can hash on pointer value or smth. else. // -> remove and // use smth. else to display node identifier in CSG tree output? - static int idx_counter; // Node instantiation index + static size_t idx_counter; // Node instantiation index public: AbstractNode(const class ModuleInstantiation *mi); virtual ~AbstractNode(); @@ -38,7 +38,7 @@ public: const std::list<AbstractNode*> getChildren() const { return this->children.toList().toStdList(); } - int index() const { return this->idx; } + size_t index() const { return this->idx; } static void resetIndexCounter() { idx_counter = 1; } |