[Libreoffice-commits] online.git: loolwsd/Util.hpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Sun Dec 27 20:08:15 PST 2015
loolwsd/Util.hpp | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 538478826d2d831bd0f1cfdf9a815ef70d46c531
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
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 <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
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());
More information about the Libreoffice-commits
mailing list