Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 7.0.2
-
None
-
Fedora 36 x86_64
-
-
8662470aba (qt-creator/qt-creator/master) 8662470aba (qt-creator/qt-creator/qds/dev)
Description
Steps to reproduce:
1) move the cursor inside MyApp() in myapp.h
2) press Ctrl+Shift+R
3) type "MyNewApp"
4) press Enter
Actual behavior:
myapp.h
class MyNewApp { public: MyNewApp(); };
myapp.cpp
#include "myapp.h" MyApp::MyApp() = default;
Expected behavior:
myapp.h
class MyNewApp { public: MyNewApp(); };
myapp.cpp
#include "myapp.h" MyNewApp::MyNewApp() = default;
Attachments
For Gerrit Dashboard: QTCREATORBUG-28102 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
439502,2 | CPlusPlus: Allow " = default" also on function implementations | master | qt-creator/qt-creator | Status: MERGED | -1 | 0 |