diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-17 14:23:37 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-17 14:23:37 +0300 |
commit | 4a1d85f99913d0bacf8cdd118c81401378c758b6 (patch) | |
tree | e8389ba64e1b1a303545f1dad242c9a9124ddca9 /tests/FileSystem_test.cpp | |
parent | 939a2d67ed75be714e9f3b1b918250d006b3860a (diff) | |
parent | 85f36ebed7e1295547cd2324d1baf7834be89c31 (diff) | |
download | PrismLauncher-4a1d85f99913d0bacf8cdd118c81401378c758b6.tar.gz PrismLauncher-4a1d85f99913d0bacf8cdd118c81401378c758b6.tar.bz2 PrismLauncher-4a1d85f99913d0bacf8cdd118c81401378c758b6.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
Diffstat (limited to 'tests/FileSystem_test.cpp')
-rw-r--r-- | tests/FileSystem_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/FileSystem_test.cpp b/tests/FileSystem_test.cpp index 3adcd343..e1941042 100644 --- a/tests/FileSystem_test.cpp +++ b/tests/FileSystem_test.cpp @@ -81,10 +81,10 @@ class LinkTask : public Task { } else { emitSucceeded(); } - }; + } FS::create_link* m_lnk; - bool m_useHard = false; + [[maybe_unused]] bool m_useHard = false; bool m_linkRecursive = true; }; @@ -361,7 +361,7 @@ class FileSystemTest : public QObject { void test_link() { QString folder = QFINDTESTDATA("testdata/FileSystem/test_folder"); - auto f = [&folder, this]() { + auto f = [&folder]() { QTemporaryDir tempDir; tempDir.setAutoRemove(true); qDebug() << "From:" << folder << "To:" << tempDir.path(); @@ -630,7 +630,7 @@ class FileSystemTest : public QObject { void test_link_with_max_depth() { QString folder = QFINDTESTDATA("testdata/FileSystem/test_folder"); - auto f = [&folder, this]() { + auto f = [&folder]() { QTemporaryDir tempDir; tempDir.setAutoRemove(true); qDebug() << "From:" << folder << "To:" << tempDir.path(); |