diff options
Diffstat (limited to 'lout/identity.hh')
-rw-r--r-- | lout/identity.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lout/identity.hh b/lout/identity.hh index 7dcdbac4..6102933d 100644 --- a/lout/identity.hh +++ b/lout/identity.hh @@ -53,7 +53,7 @@ namespace identity { * </ul> * * After this, <i>class</i>::CLASS_ID refers to a number, which denotes the - * class. (If this is still -1, since the class has not yet been instanciated, + * class. (If this is still -1, since the class has not yet been instantiated, * any test will fail, which is correct.) * * <h3>Notes on implementation</h3> @@ -131,11 +131,11 @@ public: * identity::IdentifiableObject::instanceOf are done. */ int getClassId () { return classId; } - + /** * \brief Return the name, under which the class of this object was * registered. - */ + */ const char *getClassName() { return classesById->get(classId)->className; } bool instanceOf (int otherClassId); |