Fix Warnings for 'RsGxsIfaceHelper' defined as a struct here but

previously declared as a class

In file included from ../../../trunk/retroshare-gui/src/main.cpp:66:
In file included from ../../../trunk/libretroshare/src/retroshare/
rsidentity.h:31:
../../../trunk/libretroshare/src/retroshare/rsgxsifacehelper.h:43:1:
warning: 'RsGxsIfaceHelper' defined as a struct here but previously
declared as a class [-Wmismatched-tags]
struct RsGxsIfaceHelper
^
../../../trunk/retroshare-gui/src/util/RsGxsUpdateBroadcast.h:28:1:
note: did you mean struct here?
class RsGxsIfaceHelper;
^~~~~
struct
This commit is contained in:
Phenom 2019-02-14 22:48:33 +01:00
parent 52e4a3cd00
commit a25f974473
7 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@
// should update regularly. They also should update only when visible, to save CPU time.
//
class RsGxsIfaceHelper;
struct RsGxsIfaceHelper;
class RsGxsUpdateBroadcastBase;
#define IDCHOOSER_ID_REQUIRED 0x0001

View File

@ -24,7 +24,7 @@
#include "gui/gxs/RsGxsUpdateBroadcastWidget.h"
#include "util/TokenQueue.h"
class RsGxsIfaceHelper;
struct RsGxsIfaceHelper;
class UIStateHelper;
class GxsMessageFrameWidget : public RsGxsUpdateBroadcastWidget, public TokenResponse

View File

@ -25,7 +25,7 @@
#include "gui/common/UserNotify.h"
#include "util/TokenQueue.h"
class RsGxsIfaceHelper;
struct RsGxsIfaceHelper;
class RsGxsUpdateBroadcastBase;
class GxsUserNotify : public UserNotify, public TokenResponse

View File

@ -24,7 +24,7 @@
#include <retroshare/rsgxsifacetypes.h>
class QShowEvent;
class RsGxsIfaceHelper;
struct RsGxsIfaceHelper;
class RsGxsUpdateBroadcast;
typedef uint32_t TurtleRequestId ;

View File

@ -31,7 +31,7 @@
// widget.
//
class RsGxsIfaceHelper;
struct RsGxsIfaceHelper;
class RsGxsUpdateBroadcastBase;
typedef uint32_t TurtleRequestId ;

View File

@ -31,7 +31,7 @@
// widget.
//
class RsGxsIfaceHelper;
struct RsGxsIfaceHelper;
class RsGxsUpdateBroadcastBase;
typedef uint32_t TurtleRequestId;

View File

@ -25,7 +25,7 @@
#include <retroshare/rsgxsifacetypes.h>
class RsGxsIfaceHelper;
struct RsGxsIfaceHelper;
struct RsGxsChanges;
typedef uint32_t TurtleRequestId ;