From e04f2bdb24b3f7557dc04541fc439e650a8c28ad Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 17 Nov 2023 16:26:21 +0100 Subject: [PATCH] *: coding style --- src/entt/meta/context.hpp | 4 ++-- test/entt/meta/meta_any.cpp | 2 +- test/entt/meta/meta_data.cpp | 2 +- test/entt/process/scheduler.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/entt/meta/context.hpp b/src/entt/meta/context.hpp index d127a8d97..4f255e5d6 100644 --- a/src/entt/meta/context.hpp +++ b/src/entt/meta/context.hpp @@ -21,8 +21,8 @@ struct meta_type_node; struct meta_context { dense_map value{}; - [[nodiscard]] static inline meta_context &from(meta_ctx &ctx); - [[nodiscard]] static inline const meta_context &from(const meta_ctx &ctx); + [[nodiscard]] inline static meta_context &from(meta_ctx &ctx); + [[nodiscard]] inline static const meta_context &from(const meta_ctx &ctx); }; } // namespace internal diff --git a/test/entt/meta/meta_any.cpp b/test/entt/meta/meta_any.cpp index 6fcf42022..bee2608bf 100644 --- a/test/entt/meta/meta_any.cpp +++ b/test/entt/meta/meta_any.cpp @@ -26,7 +26,7 @@ struct clazz_t { return value; } - static inline char c = 'c'; + inline static char c = 'c'; int value; }; diff --git a/test/entt/meta/meta_data.cpp b/test/entt/meta/meta_data.cpp index 1c783abe3..8c2d77aee 100644 --- a/test/entt/meta/meta_data.cpp +++ b/test/entt/meta/meta_data.cpp @@ -93,7 +93,7 @@ struct multi_setter_t { }; struct array_t { - static inline int global[3]; + inline static int global[3]; int local[5]; }; diff --git a/test/entt/process/scheduler.cpp b/test/entt/process/scheduler.cpp index c21c09b3d..8fd4fddc7 100644 --- a/test/entt/process/scheduler.cpp +++ b/test/entt/process/scheduler.cpp @@ -27,7 +27,7 @@ struct succeeded_process: entt::process { @@ -36,7 +36,7 @@ struct failed_process: entt::process