X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5098c258b2b70241cb68e9aa219ff60f85e4ca84..7e3204b45cf8e1bb882b314d456e75f2a22850d7:/tests/hashes/hashes.cpp diff --git a/tests/hashes/hashes.cpp b/tests/hashes/hashes.cpp index e2a0f6bb3b..bd62198675 100644 --- a/tests/hashes/hashes.cpp +++ b/tests/hashes/hashes.cpp @@ -356,7 +356,7 @@ IntT MakeKey(size_t i, size_t count) IntT max = 1; max <<= sizeof(KeyT) * 8 - 2; max -= count / 4 + 1; - + return max / count * 4 * i + i / 3; } @@ -380,11 +380,7 @@ void MakeKeyValuePair(size_t i, size_t count, T*& key, ValueT& value) template void HashMapTest() { -#if wxUSE_STL && defined HAVE_STL_HASH_MAP typedef typename HashMapT::value_type::second_type value_type; -#else - typedef typename HashMapT::value_type::t2 value_type; -#endif typedef typename HashMapT::key_type key_type; typedef typename HashMapT::iterator Itor;