[Libreoffice-commits] online.git: loolwsd/Log.hpp
Miklos Vajna
vmiklos at collabora.co.uk
Wed Aug 3 08:03:09 UTC 2016
loolwsd/Log.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e562ea644ea12c93a5c0007b89367c2c87afd41a
Author: Miklos Vajna <vmiklos at collabora.co.uk>
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))
{
More information about the Libreoffice-commits
mailing list