aboutsummaryrefslogtreecommitdiff
path: root/src/DI/interfaces
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/interfaces
parentdbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff)
perf: add noexcept almost everywhere
Diffstat (limited to 'src/DI/interfaces')
-rw-r--r--src/DI/interfaces/wrapper.hpp4
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;
};