From b2572354fbcd5a718de9d28c2a26d4b17501e1f6 Mon Sep 17 00:00:00 2001 From: Phenom Date: Thu, 14 Feb 2019 23:38:16 +0100 Subject: [PATCH] Fix Warnings for 'RsPeerDetails' defined as a struct here but previously declared as a class In file included from ../../../trunk/retroshare-gui/src/gui/ MessengerWindow.cpp:29: ../../../trunk/libretroshare/src/retroshare/rspeers.h:207:1: warning: 'RsPeerDetails' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct RsPeerDetails : RsSerializable ^ ../../../trunk/retroshare-gui/src/gui/common/StatusDefs.h:27:1: note: did you mean struct here? class RsPeerDetails; ^~~~~ struct --- retroshare-gui/src/gui/common/PeerDefs.h | 2 +- retroshare-gui/src/gui/common/StatusDefs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/common/PeerDefs.h b/retroshare-gui/src/gui/common/PeerDefs.h index e6b05505b..9e4e6fadc 100644 --- a/retroshare-gui/src/gui/common/PeerDefs.h +++ b/retroshare-gui/src/gui/common/PeerDefs.h @@ -24,7 +24,7 @@ #include #include -class RsPeerDetails; +struct RsPeerDetails; class PeerDefs { diff --git a/retroshare-gui/src/gui/common/StatusDefs.h b/retroshare-gui/src/gui/common/StatusDefs.h index bbe3bc568..d06cbb1d9 100644 --- a/retroshare-gui/src/gui/common/StatusDefs.h +++ b/retroshare-gui/src/gui/common/StatusDefs.h @@ -24,7 +24,7 @@ #include #include -class RsPeerDetails; +struct RsPeerDetails; class StatusDefs {