aboutsummaryrefslogtreecommitdiff
path: root/src/DI/object_wrapper.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-05 13:32:35 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:54 +0200
commitf4d812a5b9131e65bb55db7211dc68fc453792df (patch)
treed32d2bf8c0d8393e8d27c1f44fef2e4f153767da /src/DI/object_wrapper.hpp
parent6119f1428b3615e4738a121c6acf343942107fd9 (diff)
refactor: make small improvements
Diffstat (limited to 'src/DI/object_wrapper.hpp')
-rw-r--r--src/DI/object_wrapper.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DI/object_wrapper.hpp b/src/DI/object_wrapper.hpp
index 19d8cdd..6fe3997 100644
--- a/src/DI/object_wrapper.hpp
+++ b/src/DI/object_wrapper.hpp
@@ -11,7 +11,7 @@ class ObjectWrapper : public IWrapper<std::shared_ptr<Interface>>
public:
explicit ObjectWrapper(const Container &container) noexcept : _container(container) {}
- [[nodiscard]] std::shared_ptr<Interface> get() const;
+ [[nodiscard]] std::shared_ptr<Interface> get() const override;
private:
const Container &_container;