From 8f5a644a2aae088c896000520cde02822205ec41 Mon Sep 17 00:00:00 2001 From: eidheim Date: Thu, 20 Jul 2017 11:53:19 +0200 Subject: [PATCH] Minor addition to ScopesContinue test --- tests/io_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/io_test.cpp b/tests/io_test.cpp index a53229e..a15fb59 100644 --- a/tests/io_test.cpp +++ b/tests/io_test.cpp @@ -35,6 +35,8 @@ int main() { } cancel_thread.join(); assert(scopes_continue.count == -1); + auto lock = scopes_continue.shared_lock(); + assert(!lock); scopes_continue.count = 0;