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;
This commit is contained in:
Phenom 2017-07-17 11:48:08 +02:00 committed by csoler
parent 91c526f2b5
commit 300359863e

View File

@ -53,10 +53,11 @@ typedef RsPeerId ChatLobbyVirtualPeerId ;
* This service uses rsnotify (callbacks librs clients (e.g. rs-gui)) * This service uses rsnotify (callbacks librs clients (e.g. rs-gui))
* @see NotifyBase * @see NotifyBase
*/ */
struct p3ChatService : class p3ChatService :
p3Service, DistantChatService, DistributedChatService, p3Config, public p3Service, public DistantChatService, public DistributedChatService, public p3Config,
pqiServiceMonitor, GxsTransClient public pqiServiceMonitor, GxsTransClient
{ {
public:
p3ChatService(p3ServiceControl *cs, p3IdService *pids, p3LinkMgr *cm, p3ChatService(p3ServiceControl *cs, p3IdService *pids, p3LinkMgr *cm,
p3HistoryMgr *historyMgr, p3GxsTrans& gxsTransService ); p3HistoryMgr *historyMgr, p3GxsTrans& gxsTransService );