Cleanup
authorHannah von Reth <hannah.vonreth@owncloud.com>
Tue, 19 Jan 2021 13:28:04 +0000 (14:28 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 23 Aug 2021 07:40:26 +0000 (09:40 +0200)
test/testsyncengine.cpp

index d241606595ee775efb6a6f204776b88e26911eff..0d3ffeb40b3b0156b2ce169928404c1886ee1729 100644 (file)
@@ -336,7 +336,7 @@ private slots:
         });
 
         // For directly editing the remote checksum
-        auto &remoteInfo = dynamic_cast<FileInfo &>(fakeFolder.remoteModifier());
+        auto &remoteInfo = fakeFolder.remoteModifier();
 
         // Base mtime with no ms content (filesystem is seconds only)
         auto mtime = QDateTime::currentDateTimeUtc().addDays(-4);