summaryrefslogtreecommitdiff
path: root/src/types.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-22 09:20:58 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-22 09:20:58 +0100
commit455475575bcfa30aa60a377235bfaf2fd7bc2da7 (patch)
tree691c69e3e25722a4fa6ffe632179243907be8240 /src/types.cc
parent1eb9ba017214698de3fd41de5291604b4fe839c5 (diff)
Use locked_sstream. Replace once parse_stream with parse_memory.
Diffstat (limited to 'src/types.cc')
-rw-r--r--src/types.cc2
1 files changed, 1 insertions, 1 deletions
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