From 004735ea48dd32d593b4fbcd4d6eea17a223d8e8 Mon Sep 17 00:00:00 2001 From: Daniel Teske Date: Mon, 16 Feb 2015 15:37:27 +0100 Subject: [PATCH] CppEditor: override -> Q_DECL_OVERRIDE Pre g++4.7 compilers don't know override. Change-Id: I07306ebe4f9161bb3806e9b4d1d4a143448c0033 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/plugins/cppeditor/cppeditorplugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/cppeditor/cppeditorplugin.h b/src/plugins/cppeditor/cppeditorplugin.h index 1c41e495dc4..318edfc5c3f 100644 --- a/src/plugins/cppeditor/cppeditorplugin.h +++ b/src/plugins/cppeditor/cppeditorplugin.h @@ -86,7 +86,7 @@ private slots: #ifdef WITH_TESTS private: - QList createTestObjects() const override; + QList createTestObjects() const Q_DECL_OVERRIDE; private slots: // The following tests expect that no projects are loaded on start-up.