diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-14 18:02:18 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:56 +0200 |
commit | dc6222611ad14a33f642396558ba84ecba9d6605 (patch) | |
tree | d759020233b66be62c5539209a03842d283b67a9 /src/DI/auto_wirable.hpp | |
parent | dbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff) |
perf: add noexcept almost everywhere
Diffstat (limited to 'src/DI/auto_wirable.hpp')
-rw-r--r-- | src/DI/auto_wirable.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DI/auto_wirable.hpp b/src/DI/auto_wirable.hpp index 13d252e..a903242 100644 --- a/src/DI/auto_wirable.hpp +++ b/src/DI/auto_wirable.hpp @@ -8,21 +8,21 @@ class IGenericAutoWirable { public: - virtual ~IGenericAutoWirable() = default; + virtual ~IGenericAutoWirable() noexcept = default; }; template <class Interface> class IAutoWirable : public IGenericAutoWirable { public: - static Interface resolve(); + static Interface resolve() noexcept; }; template <class Interface, class ObjectImpl, class... Dependencies> class AutoWirable : public IAutoWirable<Interface> { public: - static std::shared_ptr<Interface> resolve(const Container &container); + static std::shared_ptr<Interface> resolve(const Container &container) noexcept; }; #include "auto_wirable.tpp" |