-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 3.1.1
#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.
- is duplicated by
-
QTCREATORBUG-14503 Quickfix "Move definition ..." breaks functions using Q_DECL_OVERRIDE
-
- Closed
-
- relates to
-
QTCREATORBUG-11196 Macro-Handling when performing "Apply Function Signature Changes"
-
- Closed
-