aboutsummaryrefslogtreecommitdiff
path: root/src/DI/object_type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DI/object_type.hpp')
-rw-r--r--src/DI/object_type.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DI/object_type.hpp b/src/DI/object_type.hpp
index 3910c03..84bb287 100644
--- a/src/DI/object_type.hpp
+++ b/src/DI/object_type.hpp
@@ -22,17 +22,17 @@ template <class Object>
class ObjectType : public BaseObjectType
{
public:
- ObjectType() : BaseObjectType(typeid(Object)) {}
+ ObjectType() noexcept : BaseObjectType(typeid(Object)) {}
};
class IObjectTypeHasher
{
public:
- virtual std::size_t operator()(const BaseObjectType &object_type) const = 0;
+ virtual std::size_t operator()(const BaseObjectType &object_type) const noexcept = 0;
};
class ObjectTypeHasher : public IObjectTypeHasher
{
public:
- std::size_t operator()(const BaseObjectType &object_type) const override;
+ std::size_t operator()(const BaseObjectType &object_type) const noexcept override;
};