From 70b21e90d7be4d892b7d17440d64630e7ee1a575 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 3 Mar 2022 19:17:48 +0100 Subject: refactor: improve factories --- src/DI/function_wrapper.tpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/DI/function_wrapper.tpp') 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 @@ -2,6 +2,11 @@ #include "function_wrapper.hpp" +template +FunctionWrapper::FunctionWrapper(Interface func) noexcept : _func(func) +{ +} + template Interface FunctionWrapper::get() const { -- cgit v1.2.3-18-g5258