mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-08 19:08:46 -05: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
@ -29,7 +29,7 @@
|
|||||||
#include "util/rstime.h"
|
#include "util/rstime.h"
|
||||||
|
|
||||||
class RsPeers;
|
class RsPeers;
|
||||||
class RsIdentity;
|
struct RsIdentity;
|
||||||
|
|
||||||
namespace resource_api
|
namespace resource_api
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include "ResourceRouter.h"
|
#include "ResourceRouter.h"
|
||||||
#include "StateTokenServer.h"
|
#include "StateTokenServer.h"
|
||||||
|
|
||||||
class RsIdentity;
|
struct RsIdentity;
|
||||||
|
|
||||||
namespace resource_api
|
namespace resource_api
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user