From 96bbdac8a3dce8fd1cdfa5aa7379976d6757544f Mon Sep 17 00:00:00 2001 From: Phenom Date: Thu, 14 Feb 2019 23:49:30 +0100 Subject: [PATCH] Fix Warnings for class 'FileInfo' was previously declared as a struct In file included from ../../../trunk/retroshare-gui/src/gui/FileTransfer/ TransfersDialog.cpp:31: ../../../trunk/retroshare-gui/src/gui/FileTransfer/ FileTransferInfoWidget.h:31:1: warning: class 'FileInfo' was previously declared as a struct [-Wmismatched-tags] class FileInfo ; ^ ../../../trunk/libretroshare/src/retroshare/rstypes.h:188:8: note: previous use is here struct FileInfo : RsSerializable ^ ../../../trunk/retroshare-gui/src/gui/FileTransfer/ FileTransferInfoWidget.h:31:1: note: did you mean struct here? class FileInfo ; ^~~~~ struct --- retroshare-gui/src/gui/FileTransfer/FileTransferInfoWidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/FileTransfer/FileTransferInfoWidget.h b/retroshare-gui/src/gui/FileTransfer/FileTransferInfoWidget.h index e53f8573d..a82f08dbc 100644 --- a/retroshare-gui/src/gui/FileTransfer/FileTransferInfoWidget.h +++ b/retroshare-gui/src/gui/FileTransfer/FileTransferInfoWidget.h @@ -28,7 +28,7 @@ #include struct FileChunksInfo ; -class FileInfo ; +struct FileInfo ; class FileTransferInfoWidget : public RsAutoUpdatePage {