summaryrefslogtreecommitdiff
path: root/hwpfilter/qa
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-11-20 21:42:20 +0200
committerTor Lillqvist <tml@collabora.com>2013-11-20 21:44:05 +0200
commit008471428cb6122c6b3b444a0f9ff094e16774df (patch)
tree885f0744a8f4bbd73355c4b7fcb747224304510e /hwpfilter/qa
parentbd390560539cec344323e1bc68b7e19a0aa4fbb3 (diff)
Simply use a separate temp variable
The dynamic_cast thing caused error: dynamic_cast from rvalue to reference type 'std::ostringstream &' (aka 'basic_ostringstream<char> &') with Clang in C++11 mode. Clearly putting the value of integer expressions into strings is a very esoteric corner case that very few C++ programs need to do, if it is this hard to do it and there is no obvious standard idiom that would work in all compilers and language vintages. Change-Id: I46ed2bd2a8f860d7323682b19886ec732b0722c1
Diffstat (limited to 'hwpfilter/qa')
0 files changed, 0 insertions, 0 deletions