aboutsummaryrefslogtreecommitdiff
path: root/lout/identity.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lout/identity.cc')
-rw-r--r--lout/identity.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lout/identity.cc b/lout/identity.cc
index 5e4965f1..b124d6ad 100644
--- a/lout/identity.cc
+++ b/lout/identity.cc
@@ -75,6 +75,7 @@ void IdentifiableObject::registerName (const char *className, int *classId)
ConstString *key = new ConstString (className);
classesByName->put (key, klass);
classesById->put (klass);
+ *classId = klass->id;
}
this->classId = klass->id;