summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/testUVRAII.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeLib/testUVRAII.cxx')
-rw-r--r--Tests/CMakeLib/testUVRAII.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CMakeLib/testUVRAII.cxx b/Tests/CMakeLib/testUVRAII.cxx
index 44def25..e165ff7 100644
--- a/Tests/CMakeLib/testUVRAII.cxx
+++ b/Tests/CMakeLib/testUVRAII.cxx
@@ -30,7 +30,8 @@ static bool testAsyncShutdown()
std::thread([&] {
std::this_thread::sleep_for(std::chrono::seconds(2));
signal.send();
- }).detach();
+ })
+ .detach();
if (uv_run(&Loop, UV_RUN_DEFAULT) != 0) {
std::cerr << "Unclean exit state in testAsyncDtor" << std::endl;