diff options
Diffstat (limited to 'libtemplate/templatefunction.c')
-rw-r--r-- | libtemplate/templatefunction.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libtemplate/templatefunction.c b/libtemplate/templatefunction.c index 8465961..1ddf297 100644 --- a/libtemplate/templatefunction.c +++ b/libtemplate/templatefunction.c @@ -6,7 +6,10 @@ using namespace std; // --- cTemplateFunction -------------------------------------------------------------
-cTemplateFunction::cTemplateFunction(eFuncType type) {
+int cTemplateFunction::nextId = 0;
+
+cTemplateFunction::cTemplateFunction(eFuncType type) {
+ id = nextId++;
this->type = type;
debug = false;
containerX = 0;
|