CentOS: Fix build for old compiler version
authorMarkus Goetz <markus@woboq.com>
Tue, 7 Feb 2017 17:05:29 +0000 (18:05 +0100)
committerMarkus Goetz <markus@woboq.com>
Tue, 7 Feb 2017 17:05:29 +0000 (18:05 +0100)
src/libsync/discoveryphase.h

index 43c292e7ef7b4cd0c1c9309959e24bc2588878f7..37e9e6c5c0c51e22571f385caacb6a4dae68b2e3 100644 (file)
@@ -35,11 +35,12 @@ class Account;
  */
 
 struct SyncOptions {
+    SyncOptions() : _newBigFolderSizeLimit(-1), _confirmExternalStorage(false) {}
     /** Maximum size (in Bytes) a folder can have without asking for confirmation.
      * -1 means infinite */
-    qint64 _newBigFolderSizeLimit = -1;
+    qint64 _newBigFolderSizeLimit;
     /** If a confirmation should be asked for external storages */
-    bool _confirmExternalStorage = false;
+    bool _confirmExternalStorage;
 };