[Libreoffice-commits] core.git: dbaccess/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 10 10:23:22 UTC 2020


 dbaccess/source/core/api/RowSetCacheIterator.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 36dfe0d1ee81ae9a18fbcd4d34d49a3fbf513c03
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Feb 10 09:36:53 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Feb 10 11:22:49 2020 +0100

    -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 at redhat.com>

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;
 


More information about the Libreoffice-commits mailing list