summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-11-01 03:29:55 (GMT)
committerMarius Kintel <marius@kintel.net>2010-11-01 03:29:55 (GMT)
commite994adddb17262f13b1c755567b20cd197c39252 (patch)
tree170a9b51f39c5ab225a70c93c1ed84c7a14dadb6 /src/node.h
parent45a3d59bb7d06b2d0245e2b7f45b03cc6021d5b9 (diff)
cosmetics
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node.h b/src/node.h
index 9127ae1..8b6e83c 100644
--- a/src/node.h
+++ b/src/node.h
@@ -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; }
contact: Jan Huwald // Impressum