Pack boolean members in PropagateUploadFileCommon #5457
authorJocelyn Turcotte <jturcotte@woboq.com>
Thu, 26 Jan 2017 12:41:04 +0000 (13:41 +0100)
committerJocelyn Turcotte <jturcotte@woboq.com>
Thu, 26 Jan 2017 16:13:54 +0000 (17:13 +0100)
src/libsync/propagateupload.h

index db70b566c621b377b117f5db0bfbaa1b486c97dc..31e9067d6400608c03de92ca753a7d239eaf2007 100644 (file)
@@ -184,8 +184,8 @@ class PropagateUploadFileCommon : public PropagateItemJob {
 
 protected:
     QVector<AbstractNetworkJob*> _jobs; /// network jobs that are currently in transit
-    bool _finished; /// Tells that all the jobs have been finished
-    bool _deleteExisting;
+    bool _finished BITFIELD(1); /// Tells that all the jobs have been finished
+    bool _deleteExisting BITFIELD(1);
 
     // measure the performance of checksum calc and upload
 #ifdef WITH_TESTING