From 8b99c80e076f0007660b0dbe3b0830f8cc35fab0 Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 14:04:56 +0200 Subject: [PATCH] Fix clang warning: 'p3GxsTrans' defined as a class here but previously declared as a struct /libretroshare/src/gxstrans/p3gxstrans.h:88: warning: 'p3GxsTrans' defined as a class here but previously declared as a struct [- Wmismatched-tags] class p3GxsTrans : public RsGenExchange, public GxsTokenQueue, public p3Config, public RsGxsTrans /libretroshare/src/gxstrans/p3gxstrans.h:31: did you mean class here? struct p3GxsTrans; --- libretroshare/src/gxstrans/p3gxstrans.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/gxstrans/p3gxstrans.h b/libretroshare/src/gxstrans/p3gxstrans.h index 9c0a8f999..47ef1020d 100644 --- a/libretroshare/src/gxstrans/p3gxstrans.h +++ b/libretroshare/src/gxstrans/p3gxstrans.h @@ -28,7 +28,7 @@ #include "util/rsthreads.h" #include "retroshare/rsgxstrans.h" -struct p3GxsTrans; +class p3GxsTrans; /// Services who want to make use of p3GxsTrans should inherit this struct struct GxsTransClient