mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-16 13:22:17 +00:00
remove noexcept from fiber::detach()
This commit is contained in:
@@ -104,7 +104,7 @@ public:
|
||||
|
||||
void interrupt() noexcept;
|
||||
|
||||
void detach() noexcept;
|
||||
void detach();
|
||||
};
|
||||
|
||||
inline
|
||||
|
||||
@@ -50,7 +50,7 @@ fiber::interrupt() noexcept {
|
||||
}
|
||||
|
||||
void
|
||||
fiber::detach() noexcept {
|
||||
fiber::detach() {
|
||||
if ( ! joinable() ) {
|
||||
throw fiber_resource_error( static_cast< int >( std::errc::invalid_argument),
|
||||
"boost fiber: fiber not joinable");
|
||||
|
||||
Reference in New Issue
Block a user