From e23f54d4175840edb24a39d17ba08edd28c95091 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 20 Oct 2016 10:40:30 +0300 Subject: 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 --- comphelper/source/misc/backupfilehelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx index 3e534bd7aa47..9f11db4354e0 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); -- cgit