From 45269178b4553c3aace83cb20741967b5f25d5e2 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Thu, 25 Dec 2014 18:39:01 -0500 Subject: [PATCH] reserve the inverted error table. --- bin/debugger.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/debugger.cpp b/bin/debugger.cpp index 44cf241..47c8dc7 100644 --- a/bin/debugger.cpp +++ b/bin/debugger.cpp @@ -1207,6 +1207,7 @@ void Shell() // load the error code to error mnemonic + ErrorTableInvert.reserve(ErrorTable.size()); for (const auto kv : ErrorTable) { ErrorTableInvert.emplace(std::make_pair(kv.second, kv.first)); }