diff options
Diffstat (limited to 'test/app.cpp')
-rw-r--r-- | test/app.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/app.cpp b/test/app.cpp index 4a80cb20..91c56b29 100644 --- a/test/app.cpp +++ b/test/app.cpp @@ -1,5 +1,6 @@ #include "app.hpp" #include "loader/loader.hpp" +#include "compat/array-size.hpp" #include "compat/headless.hpp" #include <stdlib.h> // NOLINT(*-deprecated-headers) #include <cstdio> @@ -48,7 +49,7 @@ int App::exec() constexpr auto SV_flags = StringViewFlag::Global|StringViewFlag::NullTerminated; constexpr auto name_prefix = "test_"_s; -#define FM_TEST(name) { ( StringView{#name, arraySize(#name)-1, SV_flags} ), ( &(name) ), } +#define FM_TEST(name) { ( StringView{#name, array_size(#name)-1, SV_flags} ), ( &(name) ), } constexpr struct { StringView name; |