diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-10-20 10:40:30 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-10-20 10:40:30 +0300 |
commit | e23f54d4175840edb24a39d17ba08edd28c95091 (patch) | |
tree | 1291148d4b501b411110039240c111747b434af4 /comphelper | |
parent | d76027bb78f71ee69748ce01d8ea0f702a32aa61 (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.cxx | 2 |
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); |