From 455475575bcfa30aa60a377235bfaf2fd7bc2da7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 22 Jul 2016 09:20:58 +0100 Subject: Use locked_sstream. Replace once parse_stream with parse_memory. --- src/types.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/types.cc') diff --git a/src/types.cc b/src/types.cc index cbb56e7f..cf3229df 100644 --- a/src/types.cc +++ b/src/types.cc @@ -121,7 +121,7 @@ Colour::Colour (string argb_hex) string Colour::to_argb_string () const { - stringstream s; + locked_stringstream s; s << "FF"; s << hex << setw(2) << setfill('0') << r -- cgit v1.2.3