wsd/LOOLWSD.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d11997337e906dfd59c93655fc9f476c28f8c7eb
Author: Miklos Vajna <[email protected]>
Date:   Tue Dec 13 13:56:33 2016 +0100

    wsd: mark AppConfigMap as a final class
    
    The call to the setRaw() virtual function during construction will not
    dispatch to derived class, so the ctor is correct only in case there are
    no subclasses.
    
    Change-Id: I484d276dd05e53211b513373100b70586a5857c0

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 0acfe40..049cd54 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -1502,7 +1502,7 @@ std::atomic<unsigned> LOOLWSD::NumConnections;
 std::unique_ptr<TraceFileWriter> LOOLWSD::TraceDumper;
 
 /// Helper class to hold default configuration entries.
-class AppConfigMap : public Poco::Util::MapConfiguration
+class AppConfigMap final : public Poco::Util::MapConfiguration
 {
 public:
     AppConfigMap(const std::map<std::string, std::string>& map)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to