aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-09 16:47:29 +0200
committerHampusM <hampus@hampusmat.com>2022-06-09 16:47:29 +0200
commit27ceb30d1f65d36e99b841055b9b9bd406a354cb (patch)
tree22c99f24cf8f1c266048d786c1b8704476c12392 /src
parent2f29451fa550514423bbba502827409114c5bc0e (diff)
refactor: put object type inside yacppdic namespace
Diffstat (limited to 'src')
-rw-r--r--src/object_type.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/object_type.cpp b/src/object_type.cpp
index ee0fe66..bd61e09 100644
--- a/src/object_type.cpp
+++ b/src/object_type.cpp
@@ -4,6 +4,9 @@
#include <functional>
+namespace yacppdic
+{
+
BaseObjectType::BaseObjectType(const std::type_info &type_info) noexcept
: _type_info(type_info)
{
@@ -45,3 +48,6 @@ auto ObjectTypeHasher::operator()(const BaseObjectType &object_type) const noexc
{
return object_type.hash();
}
+
+} // namespace yacppdic
+