[!] fixed : issue #8336 ( typedVar returns value with wrong type of fields )

git-svn-id: https://pykd.svn.codeplex.com/svn@61457 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2011-02-14 12:23:25 +00:00
parent 5e4ad89747
commit fa076cf50a

View File

@ -59,8 +59,16 @@ public:
bool bool
operator < ( const TypeName &typeName ) const { operator < ( const TypeName &typeName ) const {
return ( typeName.module <= module ) && ( typeName.symbol < symbol );
} if ( typeName.module < module )
return true;
if ( typeName.module > module )
return false;
return typeName.symbol < symbol;
}
}; };
typedef TypeFieldT<TypeInfo> TypeField; typedef TypeFieldT<TypeInfo> TypeField;