Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2013-10-28 13:47:10 +0400
committerOlivier Goffart <ogoffart@woboq.com>2013-10-28 18:58:35 +0400
commit84a40dcb59d9c6b02390003cdd7e62d901973405 (patch)
tree900a53cf3eb6213c9fc67e6f7b281b673cabff93 /src/mirall/syncfileitem.h
parent8e90782107782259ed0668ed6f162592ec70a2ac (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.h6
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();
}