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/interfaces/scene.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interfaces/scene.hpp') diff --git a/src/interfaces/scene.hpp b/src/interfaces/scene.hpp index 3b440b0..3960985 100644 --- a/src/interfaces/scene.hpp +++ b/src/interfaces/scene.hpp @@ -16,8 +16,8 @@ public: virtual void leave() noexcept = 0; - [[nodiscard]] virtual const std::shared_ptr> & - get_matrix() const noexcept = 0; + [[nodiscard]] virtual auto get_matrix() const noexcept + -> const std::shared_ptr> & = 0; }; using ISceneFactory = std::shared_ptr (*)( -- cgit v1.2.3-18-g5258