From 0b9cd9743aabd191976315bf73be2239e61e51e3 Mon Sep 17 00:00:00 2001 From: Phenom Date: Thu, 14 Feb 2019 23:09:09 +0100 Subject: [PATCH] Fix Warnings for class 'RsIdentityDetails' was previously declared as a struct In file included from ../../../trunk/retroshare-gui/src/gui/ NetworkDialog.cpp:36: ../../../trunk/retroshare-gui/src/gui/msgs/MessageComposer.h:33:1: warning: class 'RsIdentityDetails' was previously declared as a struct [-Wmismatched-tags] class RsIdentityDetails; ^ ../../../trunk/libretroshare/src/retroshare/rsidentity.h:294:8: note: previous use is here struct RsIdentityDetails : RsSerializable ^ ../../../trunk/retroshare-gui/src/gui/msgs/MessageComposer.h:33:1: note: did you mean struct here? class RsIdentityDetails; ^~~~~ struct --- retroshare-gui/src/gui/msgs/MessageComposer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/msgs/MessageComposer.h b/retroshare-gui/src/gui/msgs/MessageComposer.h index 2666da86d..df8b3c40d 100644 --- a/retroshare-gui/src/gui/msgs/MessageComposer.h +++ b/retroshare-gui/src/gui/msgs/MessageComposer.h @@ -30,7 +30,7 @@ #include "gui/msgs/MessageInterface.h" class QAction; -class RsIdentityDetails; +struct RsIdentityDetails; class QComboBox; class QFontComboBox; class QTextEdit;