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/container.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/DI/container.hpp') diff --git a/src/DI/container.hpp b/src/DI/container.hpp index 2efb265..83f24ae 100644 --- a/src/DI/container.hpp +++ b/src/DI/container.hpp @@ -32,13 +32,13 @@ public: Container() noexcept = default; template - BindingBuilder bind() noexcept; + auto bind() noexcept -> BindingBuilder; template >> - std::shared_ptr get() const noexcept; + auto get() const noexcept -> std::shared_ptr; template >> - Interface get() const noexcept; + auto get() const noexcept -> Interface; std::unordered_map, ObjectTypeHasher> bindings; -- cgit v1.2.3-18-g5258