diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-02-09 21:54:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-02-10 08:03:05 +0100 |
commit | 2cfa5fbc3e15060c0eb462df25219c96f8aa5935 (patch) | |
tree | a090bfb25bd1297c29d892e21893aed99d823b2e /connectivity | |
parent | a2a8ad842fccbf214e2e25414fc715246408aa27 (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 'connectivity')
-rw-r--r-- | connectivity/source/cpool/ZConnectionPool.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/cpool/ZConnectionPool.hxx b/connectivity/source/cpool/ZConnectionPool.hxx index 2037b014f8e3..b05c7d1ff275 100644 --- a/connectivity/source/cpool/ZConnectionPool.hxx +++ b/connectivity/source/cpool/ZConnectionPool.hxx @@ -61,11 +61,11 @@ namespace connectivity typedef std::vector< css::uno::Reference< css::sdbc::XPooledConnection> > TPooledConnections; // contains the currently pooled connections - typedef struct + struct TConnectionPool { TPooledConnections aConnections; sal_Int32 nALiveCount; // will be decremented every time a time says to, when will reach zero the pool will be deleted - } TConnectionPool; + }; struct TDigestHolder { @@ -93,11 +93,11 @@ namespace connectivity typedef std::map< TDigestHolder,TConnectionPool,TDigestLess> TConnectionMap; // contains additional information about an activeconnection which is needed to put it back to the pool - typedef struct + struct TActiveConnectionInfo { TConnectionMap::iterator aPos; css::uno::Reference< css::sdbc::XPooledConnection> xPooledConnection; - } TActiveConnectionInfo; + }; typedef std::map< css::uno::Reference< css::sdbc::XConnection>, TActiveConnectionInfo> TActiveConnectionMap; |