Changeset 708 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Parameter.cpp
- Timestamp:
- Jul 26, 2008, 7:27:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Parameter.cpp
r632 r708 40 40 bool Parameter::Equals( const Parameter ¶m, bool isContravariant ) const 41 41 { 42 if( Type::Equals( param ) )42 if( Type::Equals( param ) && this->isRef == param.isRef ) 43 43 { 44 44 return true; … … 64 64 { 65 65 // 反変引数を許可する 66 if( this->IsContravariant( param ) )66 if( this->IsContravariant( param ) && this->isRef == param.isRef ) 67 67 { 68 68 // 反変引数だったとき
Note:
See TracChangeset
for help on using the changeset viewer.