aboutsummaryrefslogtreecommitdiff
path: root/src/DI/object_wrapper.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-14 18:02:18 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:56 +0200
commitdc6222611ad14a33f642396558ba84ecba9d6605 (patch)
treed759020233b66be62c5539209a03842d283b67a9 /src/DI/object_wrapper.hpp
parentdbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff)
perf: add noexcept almost everywhere
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 6fe3997..4aee9af 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 override;
+ [[nodiscard]] std::shared_ptr<Interface> get() const noexcept override;
private:
const Container &_container;