summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-02-09 21:54:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-02-10 08:03:05 +0100
commit2cfa5fbc3e15060c0eb462df25219c96f8aa5935 (patch)
treea090bfb25bd1297c29d892e21893aed99d823b2e /include
parenta2a8ad842fccbf214e2e25414fc715246408aa27 (diff)
-Werror,-Wnon-c-typedef-for-linkage
...with recent Clant trunk, see <https://github.com/llvm/llvm-project/commit/ 7ae1b4a0ce9c7f269cf3069e41496a78e3f28d49> " Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes." Change-Id: Ida0bbe8f4be7845b8663ea3c86e1faf1db7f55a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88349 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/DriversConfig.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connectivity/DriversConfig.hxx b/include/connectivity/DriversConfig.hxx
index a415f42cb665..f64a5a63882c 100644
--- a/include/connectivity/DriversConfig.hxx
+++ b/include/connectivity/DriversConfig.hxx
@@ -31,14 +31,14 @@
namespace connectivity
{
- typedef struct
+ struct TInstalledDriver
{
::comphelper::NamedValueCollection aProperties;
::comphelper::NamedValueCollection aFeatures;
::comphelper::NamedValueCollection aMetaData;
OUString sDriverFactory;
OUString sDriverTypeDisplayName;
- } TInstalledDriver;
+ };
typedef std::map<OUString, TInstalledDriver> TInstalledDrivers;
class DriversConfigImpl