summaryrefslogtreecommitdiff
path: root/tests/test_macros.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_macros.cpp')
-rw-r--r--tests/test_macros.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_macros.cpp b/tests/test_macros.cpp
index aa07f8211a..8c510cb4a5 100644
--- a/tests/test_macros.cpp
+++ b/tests/test_macros.cpp
@@ -31,11 +31,11 @@
#define DOCTEST_CONFIG_IMPLEMENT
#include "test_macros.h"
-Map<String, TestFunc> *test_commands = nullptr;
+HashMap<String, TestFunc> *test_commands = nullptr;
int register_test_command(String p_command, TestFunc p_function) {
if (!test_commands) {
- test_commands = new Map<String, TestFunc>;
+ test_commands = new HashMap<String, TestFunc>;
}
test_commands->insert(p_command, p_function);
return 0;