From 300359863e911ccfdde04e70dd71979d339805d6 Mon Sep 17 00:00:00 2001 From: Phenom Date: Mon, 17 Jul 2017 11:48:08 +0200 Subject: [PATCH] Fix clang warning: 'p3ChatService' defined as a struct here but previously declared as a class /libretroshare/src/chat/p3chatservice.h:56: warning: 'p3ChatService' defined as a struct here but previously declared as a class [- Wmismatched-tags] struct p3ChatService : /libretroshare/src/rsserver/p3msgs.h:33: did you mean struct here? class p3ChatService; --- libretroshare/src/chat/p3chatservice.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libretroshare/src/chat/p3chatservice.h b/libretroshare/src/chat/p3chatservice.h index dcf58ea28..bcd0af977 100644 --- a/libretroshare/src/chat/p3chatservice.h +++ b/libretroshare/src/chat/p3chatservice.h @@ -53,10 +53,11 @@ typedef RsPeerId ChatLobbyVirtualPeerId ; * This service uses rsnotify (callbacks librs clients (e.g. rs-gui)) * @see NotifyBase */ -struct p3ChatService : - p3Service, DistantChatService, DistributedChatService, p3Config, - pqiServiceMonitor, GxsTransClient +class p3ChatService : + public p3Service, public DistantChatService, public DistributedChatService, public p3Config, + public pqiServiceMonitor, GxsTransClient { +public: p3ChatService(p3ServiceControl *cs, p3IdService *pids, p3LinkMgr *cm, p3HistoryMgr *historyMgr, p3GxsTrans& gxsTransService );