Skip to content

Commit

Permalink
test: make test local functions static
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Sep 29, 2023
1 parent 8a68fea commit db8e221
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/entt/entity/sparse_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit db8e221

Please sign in to comment.