From a039c8ad36779903571419cb06cd052f8fc41512 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 29 Mar 2022 17:40:04 +0200 Subject: refactor: use trailing return types --- src/DI/auto_wirable.tpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/DI/auto_wirable.tpp') diff --git a/src/DI/auto_wirable.tpp b/src/DI/auto_wirable.tpp index a99d82b..3b42cc4 100644 --- a/src/DI/auto_wirable.tpp +++ b/src/DI/auto_wirable.tpp @@ -3,8 +3,8 @@ #include "auto_wirable.hpp" template -std::shared_ptr AutoWirable::resolve( - const Container &container) noexcept +auto AutoWirable::resolve( + const Container &container) noexcept -> std::shared_ptr { return std::make_shared(container.get()...); } -- cgit v1.2.3-18-g5258