aboutsummaryrefslogtreecommitdiff
path: root/src/DI/function_wrapper.tpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DI/function_wrapper.tpp')
-rw-r--r--src/DI/function_wrapper.tpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/DI/function_wrapper.tpp b/src/DI/function_wrapper.tpp
index 4e09957..920c7f2 100644
--- a/src/DI/function_wrapper.tpp
+++ b/src/DI/function_wrapper.tpp
@@ -3,6 +3,11 @@
#include "function_wrapper.hpp"
template <class Interface>
+FunctionWrapper<Interface>::FunctionWrapper(Interface func) noexcept : _func(func)
+{
+}
+
+template <class Interface>
Interface FunctionWrapper<Interface>::get() const
{
return _func;