aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/main.cpp')
-rw-r--r--src/tests/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/main.cpp b/src/tests/main.cpp
index 0a09bacc3..692bc41af 100644
--- a/src/tests/main.cpp
+++ b/src/tests/main.cpp
@@ -161,7 +161,7 @@ class Test_Runner : public Botan_CLI::Command
auto i = combined.find(who);
if(i == combined.end())
{
- combined[who] = Botan_Tests::Test::Result(who);
+ combined.insert(std::make_pair(who, Botan_Tests::Test::Result(who)));
i = combined.find(who);
}