From 5864e5abc43b201c3801fa39a2fcaf9e3a9e8914 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 27 Feb 2022 12:54:10 +0100 Subject: refactor: use dependency injection --- src/DI/function_wrapper.tpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/DI/function_wrapper.tpp (limited to 'src/DI/function_wrapper.tpp') diff --git a/src/DI/function_wrapper.tpp b/src/DI/function_wrapper.tpp new file mode 100644 index 0000000..4e09957 --- /dev/null +++ b/src/DI/function_wrapper.tpp @@ -0,0 +1,9 @@ +#pragma once + +#include "function_wrapper.hpp" + +template +Interface FunctionWrapper::get() const +{ + return _func; +} -- cgit v1.2.3-18-g5258