aboutsummaryrefslogtreecommitdiff
path: root/src/DI/object_wrapper.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-27 17:12:49 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:53 +0200
commitfe79577396231f2edb7927f1f61ce814f03851a7 (patch)
treed353a1caa449ec772dcf9a8681084fc2d6e64116 /src/DI/object_wrapper.hpp
parent6964d48c970e5f7b11897096c816271785af23ac (diff)
add basic engine graphics
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;