diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2014-01-17 11:17:46 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2014-01-17 11:24:32 +0100 |
commit | f531f16dbfb2c64b7b80cd27ee02ad626a6f9957 (patch) | |
tree | 471e17c5324c732bbf045ee7f4d73b140ab92ac5 /src/plugins/diffeditor/diffeditorwidget.h | |
parent | 1e9433e779be54d3c30041f6d3f007cc829043a5 (diff) | |
download | qt-creator-f531f16dbfb2c64b7b80cd27ee02ad626a6f9957.tar.gz |
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 <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/diffeditor/diffeditorwidget.h')
-rw-r--r-- | src/plugins/diffeditor/diffeditorwidget.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |