14 lines
506 B
Diff
14 lines
506 B
Diff
|
diff --git a/include/sal/log.hxx b/include/sal/log.hxx
|
||
|
index 6bb0d1b..5691888 100644
|
||
|
--- a/include/sal/log.hxx
|
||
|
+++ b/include/sal/log.hxx
|
||
|
@@ -191,7 +191,7 @@ inline char const * unwrapStream(SAL_UNUSED_PARAMETER StreamIgnore const &) {
|
||
|
(::std::ostringstream() << stream).str()
|
||
|
#else
|
||
|
#define SAL_STREAM(stream) \
|
||
|
- (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str())
|
||
|
+ (dynamic_cast< ::std::ostringstream && >(::std::ostringstream() << stream).str())
|
||
|
#endif
|
||
|
|
||
|
/**
|