Changeset 50 in dev for BasicCompiler_Common/NumOpe_GetType.cpp
- Timestamp:
- Feb 10, 2007, 5:44:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/NumOpe_GetType.cpp
r49 r50 193 193 pobj_c=(CClass *)index_stack[sp-2]; 194 194 195 SUBINFO **ppsi; 196 int num; 197 ppsi=pobj_c->GetOperatorSubInfo(idCalc,num); 198 if(num==0){ 199 HeapDefaultFree(ppsi); 200 195 std::vector<SUBINFO *> subs; 196 pobj_c->EnumMethod( idCalc, subs ); 197 if( subs.size() == 0 ){ 201 198 return 0; 202 199 } … … 234 231 else GetCalcName(idCalc,temporary); 235 232 SUBINFO *psi; 236 psi=OverloadSolution(temporary, ppsi,num,ppi,iParmNum,pBaseTypeInfo);237 HeapDefaultFree(ppsi); 233 psi=OverloadSolution(temporary,subs,ppi,iParmNum,pBaseTypeInfo); 234 238 235 239 236 if(!psi){
Note:
See TracChangeset
for help on using the changeset viewer.