Changeset 326 in dev for trunk/abdev/BasicCompiler_Common/src/Class.cpp
- Timestamp:
- Sep 25, 2007, 12:26:53 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Class.cpp
r325 r326 500 500 501 501 if( pMethod->GetUserProc().GetName() == temporary ){ 502 if( pMethod->GetUserProc().Params().Equals( pUserProc->Params() ) ){ 503 //関数名、パラメータ属性が合致したとき 502 if( pMethod->GetUserProc().Params().Equals( pUserProc->Params() ) 503 && pMethod->GetUserProc().ReturnType().Equals( pUserProc->ReturnType() ) ) 504 { 505 //関数名、パラメータ、戻り値が合致したとき 504 506 SetError(15,pUserProc->GetName().c_str(),nowLine); 505 507 return; … … 514 516 BOOST_FOREACH( CMethod *pMethod, pobj_c->GetMethods() ){ 515 517 if( pMethod->GetUserProc().GetName() == temporary ){ 516 if( pMethod->GetUserProc().Params().Equals( pUserProc->Params() ) ) 518 if( pMethod->GetUserProc().Params().Equals( pUserProc->Params() ) 519 && pMethod->GetUserProc().ReturnType().Equals( pUserProc->ReturnType() ) ) 517 520 { 518 521 //メンバ関数を上書き
Note:
See TracChangeset
for help on using the changeset viewer.