summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2022-10-12 11:59:27 +0200
committerAlbert Astals Cid <aacid@kde.org>2023-03-27 11:36:11 +0200
commitb5aa09403e0f106f51292683c1841908167337ea (patch)
tree4149ce301bd3e6131f706d8e2ae4ec02a0278b14 /test
parentaf911848aa1e3c4bdb90558dc9c8aef2d6498cdf (diff)
clang 15
Diffstat (limited to 'test')
-rw-r--r--test/cairo-thread-test.cc2
-rw-r--r--test/perf-test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cairo-thread-test.cc b/test/cairo-thread-test.cc
index 46e08ed3..922ed813 100644
--- a/test/cairo-thread-test.cc
+++ b/test/cairo-thread-test.cc
@@ -490,7 +490,7 @@ int main(int argc, char *argv[])
std::vector<std::thread> threads;
threads.reserve(4);
for (int i = 0; i < numThreads; i++) {
- threads.emplace_back(std::thread(runThread, jobQueue));
+ threads.emplace_back(runThread, jobQueue);
}
std::vector<InputFile> inputFiles;
diff --git a/test/perf-test.cc b/test/perf-test.cc
index 3dda7a2a..dcecfd7a 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -35,7 +35,7 @@
// before it's tested. This is desired if a file is on a slow drive.
// Currently copying only works on Windows.
// Not enabled by default.
-//#define COPY_FILE 1
+// #define COPY_FILE 1
#include <cassert>
#include <cstdio>