aboutsummaryrefslogtreecommitdiff
path: root/src/DI/function_wrapper.tpp
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/function_wrapper.tpp
parentdbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff)
perf: add noexcept almost everywhere
Diffstat (limited to 'src/DI/function_wrapper.tpp')
-rw-r--r--src/DI/function_wrapper.tpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DI/function_wrapper.tpp b/src/DI/function_wrapper.tpp
index 920c7f2..540a7aa 100644
--- a/src/DI/function_wrapper.tpp
+++ b/src/DI/function_wrapper.tpp
@@ -8,7 +8,7 @@ FunctionWrapper<Interface>::FunctionWrapper(Interface func) noexcept : _func(fun
}
template <class Interface>
-Interface FunctionWrapper<Interface>::get() const
+Interface FunctionWrapper<Interface>::get() const noexcept
{
return _func;
}