Hannah von Reth пре 5 година
родитељ
комит
3a87067348
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      test/testsyncengine.cpp

+ 1 - 1
test/testsyncengine.cpp

@@ -336,7 +336,7 @@ private slots:
         });
         });
 
 
         // For directly editing the remote checksum
         // 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)
         // Base mtime with no ms content (filesystem is seconds only)
         auto mtime = QDateTime::currentDateTimeUtc().addDays(-4);
         auto mtime = QDateTime::currentDateTimeUtc().addDays(-4);