From 38eb52cbbb966130efef340a24024381f025a9b2 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Sat, 20 May 2023 21:50:49 +0200 Subject: [PATCH] tests/sys/cpp11_thread: fix compilation with clang++ --- tests/sys/cpp11_thread/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/cpp11_thread/main.cpp b/tests/sys/cpp11_thread/main.cpp index 80446d217e..6aeb6facb5 100644 --- a/tests/sys/cpp11_thread/main.cpp +++ b/tests/sys/cpp11_thread/main.cpp @@ -173,7 +173,7 @@ int main() { thread t1([] { // nop }); - thread t2(move(t1)); + thread t2(std::move(t1)); expect(t1.joinable() == 0); expect(t2.joinable() == 1); t2.join();