Fix Warnings for class 'RsIdentity' was previously declared as a struct

In file included from ../../../trunk/libresapi/src/api/ApiServer.cpp:22:
In file included from ../../../trunk/libresapi/src/api/ApiServer.h:27:
In file included from ../../../trunk/libresapi/src/api/PeersHandler.h:27:
../../../trunk/libresapi/src/api/ChatHandler.h:32:1: warning: class
'RsIdentity' was previously declared as a struct [-Wmismatched-tags]
class RsIdentity;
^
../../../trunk/libretroshare/src/retroshare/rsplugin.h:68:8: note:
previous use is here
struct RsIdentity;
       ^
In file included from ../../../trunk/libresapi/src/api/ApiServerMHD.cpp:
40:
In file included from ../../../trunk/libresapi/src/api/ApiServer.h:27:
In file included from ../../../trunk/libresapi/src/api/PeersHandler.h:27:
../../../trunk/libresapi/src/api/ChatHandler.h:32:1: warning: class
'RsIdentity' was previously declared as a struct [-Wmismatched-tags]
class RsIdentity;
^
../../../trunk/libretroshare/src/retroshare/rsplugin.h:68:8: note:
previous use is here
struct RsIdentity;
       ^
This commit is contained in:
Phenom 2019-02-14 22:37:03 +01:00
parent 78e8758b9e
commit 35373c36c5
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
#include "util/rstime.h"
class RsPeers;
class RsIdentity;
struct RsIdentity;
namespace resource_api
{

View File

@ -28,7 +28,7 @@
#include "ResourceRouter.h"
#include "StateTokenServer.h"
class RsIdentity;
struct RsIdentity;
namespace resource_api
{