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/function_wrapper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DI/function_wrapper.hpp') diff --git a/src/DI/function_wrapper.hpp b/src/DI/function_wrapper.hpp index e6468f2..b8d0cab 100644 --- a/src/DI/function_wrapper.hpp +++ b/src/DI/function_wrapper.hpp @@ -11,7 +11,7 @@ class FunctionWrapper : public IWrapper public: explicit FunctionWrapper(Interface func) noexcept; - [[nodiscard]] Interface get() const noexcept override; + [[nodiscard]] auto get() const noexcept -> Interface override; private: const Interface _func; -- cgit v1.2.3-18-g5258