mirror of
https://github.com/boostorg/thread.git
synced 2026-02-09 11:32:12 +00:00
fix compilation with BOOST_NO_EXCEPTIONS
This commit is contained in:
@@ -5,14 +5,7 @@
|
||||
|
||||
#include <boost/thread/detail/config.hpp>
|
||||
|
||||
#ifdef BOOST_NO_EXCEPTIONS
|
||||
namespace boost
|
||||
{
|
||||
void shared_state_base::notify_deferred() {}
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
#ifndef BOOST_NO_EXCEPTIONS
|
||||
|
||||
#include <boost/thread/futures/future_error_code.hpp>
|
||||
#include <string>
|
||||
|
||||
Reference in New Issue
Block a user