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/object_wrapper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DI/object_wrapper.hpp') diff --git a/src/DI/object_wrapper.hpp b/src/DI/object_wrapper.hpp index 4aee9af..28121cb 100644 --- a/src/DI/object_wrapper.hpp +++ b/src/DI/object_wrapper.hpp @@ -11,7 +11,7 @@ class ObjectWrapper : public IWrapper> public: explicit ObjectWrapper(const Container &container) noexcept : _container(container) {} - [[nodiscard]] std::shared_ptr get() const noexcept override; + [[nodiscard]] auto get() const noexcept -> std::shared_ptr override; private: const Container &_container; -- cgit v1.2.3-18-g5258