mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-21 12:28:26 -04:00
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:
parent
78e8758b9e
commit
35373c36c5
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
|||
#include "util/rstime.h"
|
||||
|
||||
class RsPeers;
|
||||
class RsIdentity;
|
||||
struct RsIdentity;
|
||||
|
||||
namespace resource_api
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "ResourceRouter.h"
|
||||
#include "StateTokenServer.h"
|
||||
|
||||
class RsIdentity;
|
||||
struct RsIdentity;
|
||||
|
||||
namespace resource_api
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue