aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.cpp
diff options
context:
space:
mode:
authorarkpar <arkady.paronyan@gmail.com>2015-05-07 15:51:06 +0800
committerarkpar <arkady.paronyan@gmail.com>2015-05-07 22:22:47 +0800
commitde01400fb4bb0e3dc2ab246a437fb4b5c5f2adb1 (patch)
tree5d4a35460b2ee17a47c8f2228a2e292109d2614a /TestHelper.cpp
parentf81b304555b6bee7b438d9e734d2a1aa1f8c79bf (diff)
downloaddexon-solidity-de01400fb4bb0e3dc2ab246a437fb4b5c5f2adb1.tar.gz
dexon-solidity-de01400fb4bb0e3dc2ab246a437fb4b5c5f2adb1.tar.zst
dexon-solidity-de01400fb4bb0e3dc2ab246a437fb4b5c5f2adb1.zip
set and map to hash tables
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r--TestHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index 144a1a28..96e11e02 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -305,7 +305,7 @@ void ImportTest::checkExpectedState(State const& _stateExpect, State const& _sta
if (addressOptions.m_bHasStorage)
{
- map<u256, u256> stateStorage = _statePost.storage(a.first);
+ unordered_map<u256, u256> stateStorage = _statePost.storage(a.first);
for (auto const& s: _stateExpect.storage(a.first))
CHECK(stateStorage[s.first] == s.second,
"Check State: " << a.first << ": incorrect storage [" << s.first << "] = " << toHex(stateStorage[s.first]) << ", expected [" << s.first << "] = " << toHex(s.second));