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.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DI/object_type.hpp b/src/DI/object_type.hpp
index 6b27682..5107dbf 100644
--- a/src/DI/object_type.hpp
+++ b/src/DI/object_type.hpp
@@ -8,11 +8,11 @@ class BaseObjectType
public:
explicit BaseObjectType(const std::type_info &type_info) noexcept;
- bool operator==(const BaseObjectType &object_type) const noexcept;
+ auto operator==(const BaseObjectType &object_type) const noexcept -> bool;
- [[nodiscard]] std::size_t hash() const noexcept;
+ [[nodiscard]] auto hash() const noexcept -> std::size_t;
- [[nodiscard]] std::string_view name() const noexcept;
+ [[nodiscard]] auto name() const noexcept -> std::string_view;
private:
const std::type_info &_type_info;
@@ -28,5 +28,5 @@ public:
class ObjectTypeHasher
{
public:
- std::size_t operator()(const BaseObjectType &object_type) const noexcept;
+ auto operator()(const BaseObjectType &object_type) const noexcept -> std::size_t;
};