summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-10-20 10:40:30 +0300
committerTor Lillqvist <tml@collabora.com>2016-10-20 10:40:30 +0300
commite23f54d4175840edb24a39d17ba08edd28c95091 (patch)
tree1291148d4b501b411110039240c111747b434af4 /comphelper
parentd76027bb78f71ee69748ce01d8ea0f702a32aa61 (diff)
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
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/backupfilehelper.cxx2
1 files changed, 1 insertions, 1 deletions
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);