From f4179b4589307220e726a0055ce663dc34ed61fa Mon Sep 17 00:00:00 2001 From: Peter Conrad Date: Tue, 17 Sep 2019 18:13:12 +0200 Subject: [PATCH] Fixed assert --- src/thread/thread_d.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread/thread_d.hpp b/src/thread/thread_d.hpp index 2f06d00ee..720948528 100644 --- a/src/thread/thread_d.hpp +++ b/src/thread/thread_d.hpp @@ -398,7 +398,7 @@ namespace fc { print_stacktrace( stacktrace ); elog( "Thread ${name} yielded in exception handler!\n${trace}", ("name",thread::current().name())("trace",stacktrace.str()) ); - assert( std::current_exception() != std::exception_ptr() ); + assert( std::current_exception() == std::exception_ptr() ); } check_for_timeouts();