Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 3.1.1
Description
#define OVERRIDE override struct Base { virtual int func() = 0; }; struct Derived : Base { int func() OVERRIDE { return 42; } };
Results in:
struct Derived : Base { int func() OVERRIDE {; }; int Derived::func()return 42; }
The same is true if I replace override with const.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-14503 Quickfix "Move definition ..." breaks functions using Q_DECL_OVERRIDE
-
- Closed
-