Browse Source

test: make test local functions static

Michele Caini 2 years ago
parent
commit
db8e22196d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/entt/entity/sparse_set.cpp

+ 2 - 2
test/entt/entity/sparse_set.cpp

@@ -8,11 +8,11 @@
 #include "../common/config.h"
 #include "../common/throwing_allocator.hpp"
 
-auto testing_values() {
+static auto testing_values() {
     return testing::Values(entt::deletion_policy::swap_and_pop, entt::deletion_policy::in_place, entt::deletion_policy::swap_only);
 }
 
-auto policy_to_string(const testing::TestParamInfo<entt::deletion_policy> &info) {
+static auto policy_to_string(const testing::TestParamInfo<entt::deletion_policy> &info) {
     const char *ret = nullptr;
 
     switch(info.param) {