summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-19 08:37:51 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-19 08:37:51 +0100
commit6e8cd883a8fbb4225929cd8c61fad0bbe22aef42 (patch)
tree3281d0bb84938ce12caf5ade70e74727e3a03874
parent0533360642ff320a1a7d25ed2911a6c44de8d6e9 (diff)
test/entity: move into anon namespace
-rw-r--r--test/entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/entity.cpp b/test/entity.cpp
index 5db83974..59ff5004 100644
--- a/test/entity.cpp
+++ b/test/entity.cpp
@@ -171,8 +171,6 @@ void test_predicate()
fm_assert(m_foo3.erased().is_enabled(x));
}
-} // namespace
-
static constexpr bool test_names()
{
constexpr auto m = entity_metadata<TestAccessors>();
@@ -189,6 +187,8 @@ static constexpr bool test_names()
return true;
}
+} // namespace
+
void test_app::test_entity()
{
static_assert(test_accessors());