aboutsummaryrefslogtreecommitdiff
path: root/src/DI/object_wrapper.hpp
diff options
context:
space:
mode:
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 0ae66df..19d8cdd 100644
--- a/src/DI/object_wrapper.hpp
+++ b/src/DI/object_wrapper.hpp
@@ -9,7 +9,7 @@ template <class Interface, class ObjectImpl>
class ObjectWrapper : public IWrapper<std::shared_ptr<Interface>>
{
public:
- explicit ObjectWrapper(const Container &container) : _container(container) {}
+ explicit ObjectWrapper(const Container &container) noexcept : _container(container) {}
[[nodiscard]] std::shared_ptr<Interface> get() const;