loolwsd/Util.hpp | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 538478826d2d831bd0f1cfdf9a815ef70d46c531
Author: Ashod Nakashian <[email protected]>
Date: Sun Dec 27 15:00:14 2015 -0500
loolwsd: workaround for older gcc that require explicit move ctor
Change-Id: I2a4c232ad89c32ea8739809a13e17522dee7e7c1
Reviewed-on: https://gerrit.libreoffice.org/20976
Reviewed-by: Ashod Nakashian <[email protected]>
Tested-by: Ashod Nakashian <[email protected]>
diff --git a/loolwsd/Util.hpp b/loolwsd/Util.hpp
index fa79b33..7f7f213 100644
--- a/loolwsd/Util.hpp
+++ b/loolwsd/Util.hpp
@@ -99,6 +99,12 @@ namespace Log
{
}
+ StreamLogger(StreamLogger&& sl)
+ : Stream(std::move(sl.Stream.str()))
+ , _func(std::move(sl._func))
+ {
+ }
+
void flush() const
{
_func(Stream.str());
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits