aboutsummaryrefslogtreecommitdiff
path: root/tests/FileSystem_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FileSystem_test.cpp')
-rw-r--r--tests/FileSystem_test.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/FileSystem_test.cpp b/tests/FileSystem_test.cpp
index ec1f0bcf..9bb681ae 100644
--- a/tests/FileSystem_test.cpp
+++ b/tests/FileSystem_test.cpp
@@ -91,10 +91,9 @@ class LinkTask : public Task {
emitSucceeded();
}
- };
+ }
FS::create_link *m_lnk;
- bool m_useHard = false;
bool m_linkRecursive = true;
};
@@ -346,7 +345,7 @@ slots:
void test_link()
{
QString folder = QFINDTESTDATA("testdata/FileSystem/test_folder");
- auto f = [&folder, this]()
+ auto f = [&folder]()
{
QTemporaryDir tempDir;
tempDir.setAutoRemove(true);
@@ -640,7 +639,7 @@ slots:
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);