From a7b43769b2f6dae5abdda4cb2649e43b02fbeea7 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 28 Aug 2025 09:00:15 +0200 Subject: feat: v0.0.3e1 (Ogre) Signed-off-by: Amlal El Mahrouss --- dev/LibC++/utility.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dev/LibC++') diff --git a/dev/LibC++/utility.h b/dev/LibC++/utility.h index 4f1d2d7..082d73d 100644 --- a/dev/LibC++/utility.h +++ b/dev/LibC++/utility.h @@ -1,7 +1,7 @@ /* ------------------------------------------- - \ - Copyright (C) 2024-2025 Amlal El Mahrouss, all rights reserved. \ - \ + + Copyright (C) 2024-2025 Amlal El Mahrouss, all rights reserved. + ------------------------------------------- */ #ifndef LIBCXX_UTILITY_H @@ -13,8 +13,8 @@ namespace std { /// @param arg the object. /// @return object's rvalue template -inline Args&& forward(Args& arg) { - return static_cast(arg); +inline auto forward(Args& arg) -> Args&& { + return static_cast(arg); } /// @brief Move object. @@ -22,7 +22,7 @@ inline Args&& forward(Args& arg) { /// @param arg the object. /// @return object's rvalue template -inline Args&& move(Args&& arg) { +inline auto move(Args&& arg) -> Args&& { return static_cast(arg); } } // namespace std -- cgit v1.2.3