loolwsd/Log.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e562ea644ea12c93a5c0007b89367c2c87afd41a
Author: Miklos Vajna <[email protected]>
Date: Wed Aug 3 10:00:38 2016 +0200
Log: mark move constructor noexcept
It's a good practice in general, since otherwise such classes can't be
put into e.g. STL containers.
Change-Id: Iedf8bab45170c3b7721e88493811d8839487ecab
diff --git a/loolwsd/Log.hpp b/loolwsd/Log.hpp
index e404d76..f474d34 100644
--- a/loolwsd/Log.hpp
+++ b/loolwsd/Log.hpp
@@ -52,7 +52,7 @@ namespace Log
{
}
- StreamLogger(StreamLogger&& sl)
+ StreamLogger(StreamLogger&& sl) noexcept
: _stream(sl._stream.str())
, _func(std::move(sl._func))
{
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits