From dc6222611ad14a33f642396558ba84ecba9d6605 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 14 Mar 2022 18:02:18 +0100 Subject: perf: add noexcept almost everywhere --- src/DI/object_wrapper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DI/object_wrapper.hpp') 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> public: explicit ObjectWrapper(const Container &container) noexcept : _container(container) {} - [[nodiscard]] std::shared_ptr get() const override; + [[nodiscard]] std::shared_ptr get() const noexcept override; private: const Container &_container; -- cgit v1.2.3-18-g5258