1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/sys/cpp11_thread: fix compilation with clang++

This commit is contained in:
Marian Buschsieweke 2023-05-20 21:50:49 +02:00 committed by Marian Buschsieweke
parent a1acae92fa
commit 38eb52cbbb
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -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();