summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-02-10 09:36:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-02-10 11:22:49 +0100
commit36dfe0d1ee81ae9a18fbcd4d34d49a3fbf513c03 (patch)
treeac7aba8cee52217785eed590485e1ee4cbf43856 /dbaccess
parentc3bdf60484298e1a42b5df28c2f2bc0c603510c4 (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: I4e9e03f63fe47ccad4461cbc5c9fef9abd5c02ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88358 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/RowSetCacheIterator.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/api/RowSetCacheIterator.hxx b/dbaccess/source/core/api/RowSetCacheIterator.hxx
index 432f0e48663a..39f139c276cf 100644
--- a/dbaccess/source/core/api/RowSetCacheIterator.hxx
+++ b/dbaccess/source/core/api/RowSetCacheIterator.hxx
@@ -28,11 +28,11 @@
namespace dbaccess
{
class ORowSetBase;
- typedef struct
+ struct ORowSetCacheIterator_Helper
{
ORowSetMatrix::iterator aIterator;
ORowSetBase* pRowSet;
- } ORowSetCacheIterator_Helper;
+ };
typedef std::map<sal_Int32, ORowSetCacheIterator_Helper> ORowSetCacheMap;