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,9 +69,11 @@ 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;
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;
}

Binary file not shown.