Changeset 640 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Template.cpp
- Timestamp:
- Jun 14, 2008, 12:16:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Template.cpp
r639 r640 9 9 } 10 10 11 bool ExpandedTemplateClass::Resolve( const ObjectModule &resolver )11 bool ExpandedTemplateClass::Resolve( const ObjectModule &resolver, ResolveErrors &resolveErrors ) 12 12 { 13 13 if( pClass->IsNeedResolve() ) 14 14 { 15 pClass = const_cast<CClass *>(resolver.meta.GetClasses().FindLike( pClass )); 15 CClass *pTempClass = const_cast<CClass *>(resolver.meta.GetClasses().FindLike( pClass )); 16 if( pTempClass ) 17 { 18 this->pClass = pTempClass; 19 } 20 else 21 { 22 resolveErrors.Add( ResolveError( this->pClass->GetRelationalObjectModuleIndex(), this->pClass->GetFullName() ) ); 23 } 16 24 } 17 25 18 26 BOOST_FOREACH( Type &actualType, actualTypes ) 19 27 { 20 actualType.Resolve( resolver );28 actualType.Resolve( resolver, resolveErrors ); 21 29 } 22 30
Note:
See TracChangeset
for help on using the changeset viewer.