Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 11.0.0-beta1
-
None
-
-
118c493c6 (11.0)
Description
Using the new refactoring feature "Add Member Function" from QTCREATORBUG-10356.
When writing down a call to a non-existing member function foo() within a const member function bar() of class Foobar the new method added by calling refacotoring:
Add Member Function "foo"
is missing the const specifier:
I get in the private section of class Foobar:
void foo();
but I would need
void foo() const;
So the current refactoring results in a not usable declaration.
Attachments
For Gerrit Dashboard: QTCREATORBUG-29274 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
484527,3 | CppEditor: Make generated function const, if necessary | 11.0 | qt-creator/qt-creator | Status: MERGED | -1 | 0 |