You need to sign in or sign up before continuing.
Commit 297243db authored by Davis King's avatar Davis King
Browse files

Changed code slightly to avoid compiler error in visual studio 2005

parent be92aa31
......@@ -69,7 +69,10 @@ namespace
bo.host_to_little(hashes);
final = murmur_hash3(hashes,sizeof(hashes),0);
dlog << LINFO << hex << "final: "<< final;
// using ostringstream to avoid compiler error in visual studio 2005
ostringstream sout;
sout << hex << final;
dlog << LINFO << "final: "<< sout.str();
DLIB_TEST(final == 0xB0F57EE3);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment