T O P I C R E V I E W |
accord |
Posted - Jul 23 2006 : 3:06:49 PM If a tries to rename a parameter in function declaration, the parser will not rename in the definition or vice versa.
For example:
Header: class cTest { void Function1(int apple, int banana); };
Cpp: void cTest::Function1(int apple, int banana) { apple++; banana++; }
So if I rename apple or banana the outcome will be that the word only in the header or only in the cpp will be renamed.
|
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jul 24 2006 : 6:44:52 PM for now use Change Signature instead, this renames inside the function, and it also updates the definition. |
accord |
Posted - Jul 23 2006 : 10:04:27 PM OK, thanks! |
jpizzi |
Posted - Jul 23 2006 : 6:05:50 PM I sure thought this used to work. But, I found it is a known issue. It is listed as an enhancement request.
case=1140
I have added a reference to this thread to the case.
Of course you realize that the parameter names in the two are not required to match. |