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.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/DI/auto_wirable.hpp') diff --git a/src/DI/auto_wirable.hpp b/src/DI/auto_wirable.hpp index 178158a..54a291e 100644 --- a/src/DI/auto_wirable.hpp +++ b/src/DI/auto_wirable.hpp @@ -8,14 +8,14 @@ template class IAutoWirable { public: - static Interface resolve() noexcept; + static auto resolve() noexcept -> Interface; }; template class AutoWirable : public IAutoWirable { public: - static std::shared_ptr resolve(const Container &container) noexcept; + static auto resolve(const Container &container) noexcept -> std::shared_ptr; }; #include "auto_wirable.tpp" -- cgit v1.2.3-18-g5258