summaryrefslogtreecommitdiff
path: root/src/core/common/Rtti.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/common/Rtti.cpp')
-rw-r--r--src/core/common/Rtti.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/common/Rtti.cpp b/src/core/common/Rtti.cpp
index 7ee3c45..a8343ef 100644
--- a/src/core/common/Rtti.cpp
+++ b/src/core/common/Rtti.cpp
@@ -99,6 +99,16 @@ bool RttiType::composedOf(const RttiType &other) const
/* Constant initialization */
-const RttiType RttiTypes::None;
+namespace RttiTypes {
+const RttiType None{"unknown"};
+const RttiType Nullptr{"nullptr"};
+const RttiType Bool{"bool"};
+const RttiType Int{"int"};
+const RttiType Double{"double"};
+const RttiType String{"string"};
+const RttiType Array{"array"};
+const RttiType Map{"map"};
+const RttiType Function{"function"};
+}
}