From f531f16dbfb2c64b7b80cd27ee02ad626a6f9957 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Fri, 17 Jan 2014 11:17:46 +0100 Subject: DiffEditor: Fix warnings on clang/msvc The recent move to use classes in favor of structs missed the forward declarations, so the build produces warnings about the mismatch when using clang (and MSVC as far as I can tell). Change-Id: I235f7410a5b43b14c318843c9ee4dfcb9ea88e63 Reviewed-by: Tobias Hunger --- src/plugins/diffeditor/diffeditorwidget.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/diffeditor/diffeditorwidget.h') diff --git a/src/plugins/diffeditor/diffeditorwidget.h b/src/plugins/diffeditor/diffeditorwidget.h index 8fde0bd5c6..ba4e3ff087 100644 --- a/src/plugins/diffeditor/diffeditorwidget.h +++ b/src/plugins/diffeditor/diffeditorwidget.h @@ -53,9 +53,9 @@ QT_END_NAMESPACE namespace DiffEditor { class DiffViewEditorWidget; -struct TextLineData; -struct ChunkData; -struct FileData; +class TextLineData; +class ChunkData; +class FileData; class DIFFEDITOR_EXPORT DiffEditorWidget : public QWidget { -- cgit v1.2.1