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/engine/user/cursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/user/cursor.cpp') diff --git a/src/engine/user/cursor.cpp b/src/engine/user/cursor.cpp index 2a72663..2b240b9 100644 --- a/src/engine/user/cursor.cpp +++ b/src/engine/user/cursor.cpp @@ -34,7 +34,7 @@ void CursorController::move_to(const Vector2 &position, bool silent) noexcept } } -Vector2 CursorController::where() const noexcept +auto CursorController::where() const noexcept -> Vector2 { return _position; } -- cgit v1.2.3-18-g5258