2
0
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:
huangqinjin
2018-08-31 10:45:06 +08:00
parent c5e756d196
commit d1284b02ad
3 changed files with 5 additions and 12 deletions

View File

@@ -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>