From 91c526f2b52d2bd404b62b82356eccb4a7fda34b Mon Sep 17 00:00:00 2001 From: Phenom Date: Mon, 17 Jul 2017 11:43:41 +0200 Subject: [PATCH] Fix clang warning: 'p3MsgService' defined as a struct here but previously declared as a class /libretroshare/src/services/p3msgservice.h:58: warning: 'p3MsgService' defined as a struct here but previously declared as a class [- Wmismatched-tags] struct p3MsgService : /libretroshare/src/rsserver/p3msgs.h:32: did you mean struct here? class p3MsgService; --- libretroshare/src/services/p3msgservice.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/services/p3msgservice.h b/libretroshare/src/services/p3msgservice.h index 0667c2079..7027e470b 100644 --- a/libretroshare/src/services/p3msgservice.h +++ b/libretroshare/src/services/p3msgservice.h @@ -55,10 +55,11 @@ class p3LinkMgr; class p3IdService; // Temp tweak to test grouter -struct p3MsgService : - p3Service, p3Config, pqiServiceMonitor, GRouterClientService, +class p3MsgService : + public p3Service, public p3Config, public pqiServiceMonitor, GRouterClientService, GxsTransClient { +public: p3MsgService(p3ServiceControl *sc, p3IdService *id_service, p3GxsTrans& gxsMS); virtual RsServiceInfo getServiceInfo();