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/interfaces | |
parent | dbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff) |
perf: add noexcept almost everywhere
Diffstat (limited to 'src/DI/interfaces')
-rw-r--r-- | src/DI/interfaces/wrapper.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DI/interfaces/wrapper.hpp b/src/DI/interfaces/wrapper.hpp index 3cc75a0..cde555f 100644 --- a/src/DI/interfaces/wrapper.hpp +++ b/src/DI/interfaces/wrapper.hpp @@ -6,12 +6,12 @@ class IGenericWrapper { public: - virtual ~IGenericWrapper() = default; + virtual ~IGenericWrapper() noexcept = default; }; template <class Interface> class IWrapper : public IGenericWrapper { public: - [[nodiscard]] virtual Interface get() const = 0; + [[nodiscard]] virtual Interface get() const noexcept = 0; }; |