-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>
This commit is contained in:
Stephan Bergmann 2020-02-10 09:36:53 +01:00
parent c3bdf60484
commit 36dfe0d1ee

View file

@ -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;