From b36d072ad7a7b9c6e30fcb25d6bbb001a8393468 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 10 Apr 2022 17:20:49 +0200 Subject: refactor: add factory class & make DI container return unique ptrs --- src/DI/container.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DI/container.cpp') diff --git a/src/DI/container.cpp b/src/DI/container.cpp index 4b86186..1b5dc55 100644 --- a/src/DI/container.cpp +++ b/src/DI/container.cpp @@ -1,6 +1,6 @@ #include "container.hpp" -void Container::add(BaseObjectType type, const Ptr &wrapper) noexcept +void Container::add(BaseObjectType type, const WrapperPtr &wrapper) noexcept { _bindings.insert({type, wrapper}); } -- cgit v1.2.3-18-g5258