Rearranged transformation sort order in database

This commit is contained in:
Simon Rozman 2017-05-08 13:39:19 +02:00
parent 8f4f20f2b4
commit 1834543564
2 changed files with 6 additions and 4 deletions

View File

@ -69,10 +69,12 @@ public:
inline bool operator<(_In_ const com_translation& other) const
{
if (rank < other.rank) return true;
else if (rank > other.rank) return false;
else if (src < other.src ) return true;
else return false;
if (src.str < other.src.str ) return true;
else if (src.str > other.src.str ) return false;
else if (src.rank < other.src.rank) return true;
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

Binary file not shown.