Changeset 206 in dev for trunk/abdev/BasicCompiler_Common/Overload.cpp
- Timestamp:
- Jul 12, 2007, 2:58:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/Overload.cpp
r182 r206 1 #include "stdafx.h" 2 1 3 #include "../BasicCompiler_Common/common.h" 2 4 … … 7 9 #endif 8 10 9 UserProc *OverloadSolutionWithStrParam(11 const UserProc *OverloadSolutionWithStrParam( 10 12 const char *name, 11 std::vector< UserProc *> &subs,13 std::vector<const UserProc *> &subs, 12 14 const char *Parameter, 13 15 const char *ObjectName){ … … 26 28 27 29 char MethodName[VN_SIZE]; 28 if( ! CClass::SplitName( name, NULL, MethodName ) ) lstrcpy( MethodName, name );30 if( !SplitMemberName( name, NULL, MethodName ) ) lstrcpy( MethodName, name ); 29 31 /* 30 32 //メソッドの場合は静的かどうかを調べる … … 39 41 40 42 41 UserProc *pUserProc; 42 pUserProc=pobj_parameter->OverloadSolution(name,subs); 43 const UserProc *pUserProc = pobj_parameter->OverloadSolution(name,subs); 43 44 44 45 … … 49 50 return pUserProc; 50 51 } 51 UserProc *OverloadSolution(52 const UserProc *OverloadSolution( 52 53 const char *name, 53 std::vector< UserProc *> &subs,54 std::vector<const UserProc *> &subs, 54 55 const Parameters ¶ms, 55 56 const Type &returnType ){ … … 66 67 } 67 68 68 UserProc *pUserProc; 69 pUserProc=pobj_Parameter->OverloadSolution(name,subs); 69 const UserProc *pUserProc = pobj_Parameter->OverloadSolution(name,subs); 70 70 71 71 delete pobj_Parameter;
Note:
See TracChangeset
for help on using the changeset viewer.