[Libreoffice-commits] core.git: comphelper/source

Tor Lillqvist tml at collabora.com
Thu Oct 20 07:42:10 UTC 2016


 comphelper/source/misc/backupfilehelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e23f54d4175840edb24a39d17ba08edd28c95091
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Oct 20 10:40:30 2016 +0300

    Fix odd compilation error with Clang 3.8.0
    
    Fix "default initialization of an object of const type 'const
    ExtensionInfoEntryVector' (aka 'const vector<(anonymous
    namespace)::ExtensionInfoEntry>') without a user-provided default
    constructor".
    
    Change-Id: I97013ed4660459a3f4c1b8b5b7cc302ba3ff914d

diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index 3e534bd..9f11db4 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -1990,7 +1990,7 @@ namespace comphelper
         // but as we are now in SafeMode, use XML infos for this since the
         // extensions are not loaded from XExtensionManager
         ExtensionInfo aCurrentExtensionInfo;
-        const ExtensionInfoEntryVector aToBeEnabled;
+        const ExtensionInfoEntryVector aToBeEnabled = { };
         ExtensionInfoEntryVector aToBeDisabled;
 
         aCurrentExtensionInfo.createUsingExtensionRegistryEntriesFromXML(maUserConfigWorkURL);


More information about the Libreoffice-commits mailing list