Tweak ISO6937 mapping to put $ sign on 0xa4 (164) (from master).
[libsub.git] / src / stl_binary_writer.cc
index aa8943c90f8272247203553a42dbf651b483cda5..f1afa2cca7eab0852c108ffef6cc4ef3e69aa663 100644 (file)
@@ -72,7 +72,7 @@ put_string (char* p, unsigned int n, string s)
 static void
 put_int_as_string (char* p, int v, unsigned int n)
 {
-       std::stringstream s;
+       locked_stringstream s;
        /* Be careful to ensure we get no thousands separators */
        s.imbue (std::locale::classic ());
        s << setw (n) << setfill ('0');