diff --git a/trunk/smp/src/thread.cpp b/trunk/smp/src/thread.cpp index 02be9af89..8203a1e40 100644 --- a/trunk/smp/src/thread.cpp +++ b/trunk/smp/src/thread.cpp @@ -43,7 +43,7 @@ namespace smp Thread& Thread::operator=(Thread&& other) { - t = std::move(other.t); + t = std::move(other.t); return *this; } diff --git a/trunk/smp/test/t-smpThread.cpp b/trunk/smp/test/t-smpThread.cpp index 282d81075..83eba41cb 100644 --- a/trunk/smp/test/t-smpThread.cpp +++ b/trunk/smp/test/t-smpThread.cpp @@ -26,7 +26,7 @@ void g(std::atomic &x) void foo() { std::cout << "Foo" << std::endl; - std::this_thread::sleep_for(std::chrono::seconds(1)); + //std::this_thread::sleep_for(std::chrono::seconds(1)); } int main(void)