Skip to content

Commit

Permalink
*: coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Nov 17, 2023
1 parent c26a24e commit e04f2bd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/entt/meta/context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ struct meta_type_node;
struct meta_context {
dense_map<id_type, meta_type_node, identity> 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
Expand Down
2 changes: 1 addition & 1 deletion test/entt/meta/meta_any.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ struct clazz_t {
return value;
}

static inline char c = 'c';
inline static char c = 'c';
int value;
};

Expand Down
2 changes: 1 addition & 1 deletion test/entt/meta/meta_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ struct multi_setter_t {
};

struct array_t {
static inline int global[3];
inline static int global[3];
int local[5];
};

Expand Down
4 changes: 2 additions & 2 deletions test/entt/process/scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct succeeded_process: entt::process<succeeded_process, entt::scheduler::delt
succeed();
}

static inline unsigned int invoked;
inline static unsigned int invoked;
};

struct failed_process: entt::process<failed_process, entt::scheduler::delta_type> {
Expand All @@ -36,7 +36,7 @@ struct failed_process: entt::process<failed_process, entt::scheduler::delta_type
fail();
}

static inline unsigned int invoked;
inline static unsigned int invoked;
};

struct Scheduler: ::testing::Test {
Expand Down

0 comments on commit e04f2bd

Please sign in to comment.