Rearranged transformation sort order in database
This commit is contained in:
parent
8f4f20f2b4
commit
1834543564
@ -69,10 +69,12 @@ public:
|
|||||||
|
|
||||||
inline bool operator<(_In_ const com_translation& other) const
|
inline bool operator<(_In_ const com_translation& other) const
|
||||||
{
|
{
|
||||||
if (rank < other.rank) return true;
|
if (src.str < other.src.str ) return true;
|
||||||
else if (rank > other.rank) return false;
|
else if (src.str > other.src.str ) return false;
|
||||||
else if (src < other.src ) return true;
|
else if (src.rank < other.src.rank) return true;
|
||||||
else return false;
|
else if (src.rank > other.src.rank) return false;
|
||||||
|
else if (rank < other.rank ) return true;
|
||||||
|
else return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool operator<=(_In_ const com_translation &other) const
|
inline bool operator<=(_In_ const com_translation &other) const
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user