[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp

Miklos Vajna vmiklos at collabora.co.uk
Tue Dec 13 12:57:02 UTC 2016


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

New commits:
commit d11997337e906dfd59c93655fc9f476c28f8c7eb
Author: Miklos Vajna <vmiklos at collabora.co.uk>
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)


More information about the Libreoffice-commits mailing list