diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2013-10-28 13:47:10 +0400 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2013-10-28 18:58:35 +0400 |
commit | 84a40dcb59d9c6b02390003cdd7e62d901973405 (patch) | |
tree | 900a53cf3eb6213c9fc67e6f7b281b673cabff93 /src/mirall/syncfileitem.h | |
parent | 8e90782107782259ed0668ed6f162592ec70a2ac (diff) |
Refactor the new propagator in jobs
This makes the code (IMHO) more easy to understand, and will allow
even more easy parallelism
Diffstat (limited to 'src/mirall/syncfileitem.h')
-rw-r--r-- | src/mirall/syncfileitem.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mirall/syncfileitem.h b/src/mirall/syncfileitem.h index 018dcb5a1..4404925c5 100644 --- a/src/mirall/syncfileitem.h +++ b/src/mirall/syncfileitem.h @@ -56,12 +56,6 @@ public: } friend bool operator<(const SyncFileItem& item1, const SyncFileItem& item2) { - // Delete at the end: - if (item1._instruction == CSYNC_INSTRUCTION_REMOVE && item2._instruction != CSYNC_INSTRUCTION_REMOVE) - return false; - if (item1._instruction != CSYNC_INSTRUCTION_REMOVE && item2._instruction == CSYNC_INSTRUCTION_REMOVE) - return true; - // Sort by destination return item1.destination() < item2.destination(); } |