mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
tests/sys/cpp11_thread: fix compilation with clang++
This commit is contained in:
parent
a1acae92fa
commit
38eb52cbbb
@ -173,7 +173,7 @@ int main() {
|
|||||||
thread t1([] {
|
thread t1([] {
|
||||||
// nop
|
// nop
|
||||||
});
|
});
|
||||||
thread t2(move(t1));
|
thread t2(std::move(t1));
|
||||||
expect(t1.joinable() == 0);
|
expect(t1.joinable() == 0);
|
||||||
expect(t2.joinable() == 1);
|
expect(t2.joinable() == 1);
|
||||||
t2.join();
|
t2.join();
|
||||||
|
Loading…
Reference in New Issue
Block a user