Move PropagateRemoteMkdir ctor to the cpp file
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 15 Jul 2020 11:03:55 +0000 (13:03 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 15 Jul 2020 11:03:55 +0000 (13:03 +0200)
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/propagateremotemkdir.cpp
src/libsync/propagateremotemkdir.h

index 343310322c3c1e768f0e0ac3b6799429c70b26d3..a8e1b68f1807cb3f5951353b800f55b255df200e 100644 (file)
@@ -28,6 +28,13 @@ namespace OCC {
 
 Q_LOGGING_CATEGORY(lcPropagateRemoteMkdir, "nextcloud.sync.propagator.remotemkdir", QtInfoMsg)
 
+PropagateRemoteMkdir::PropagateRemoteMkdir(OwncloudPropagator *propagator, const SyncFileItemPtr &item)
+    : PropagateItemJob(propagator, item)
+    , _deleteExisting(false)
+    , _uploadEncryptedHelper(nullptr)
+{
+}
+
 void PropagateRemoteMkdir::start()
 {
     if (propagator()->_abortRequested.fetchAndAddRelaxed(0))
index 469d65bd9d7da04499319114a052b53fd0fa67c3..7a0d8b6cafcf4f18e14d9f055f2ffa2b16effd38 100644 (file)
@@ -32,12 +32,7 @@ class PropagateRemoteMkdir : public PropagateItemJob
     PropagateUploadEncrypted *_uploadEncryptedHelper;
     friend class PropagateDirectory; // So it can access the _item;
 public:
-    PropagateRemoteMkdir(OwncloudPropagator *propagator, const SyncFileItemPtr &item)
-        : PropagateItemJob(propagator, item)
-        , _deleteExisting(false)
-        , _uploadEncryptedHelper(nullptr)
-    {
-    }
+    PropagateRemoteMkdir(OwncloudPropagator *propagator, const SyncFileItemPtr &item);
     void start() override;
     void abort(PropagatorJob::AbortType abortType) override;