From f0cd02e489642b5adbd8adbc655eb3f55aabd0ef Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Sun, 27 Sep 2015 20:40:36 +0200 Subject: [PATCH] remove noexcept from fiber::detach() --- include/boost/fiber/fiber.hpp | 2 +- src/fiber.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/fiber/fiber.hpp b/include/boost/fiber/fiber.hpp index 0e2aaba9..98fc9563 100644 --- a/include/boost/fiber/fiber.hpp +++ b/include/boost/fiber/fiber.hpp @@ -104,7 +104,7 @@ public: void interrupt() noexcept; - void detach() noexcept; + void detach(); }; inline diff --git a/src/fiber.cpp b/src/fiber.cpp index 7b7a74ca..216c9d26 100644 --- a/src/fiber.cpp +++ b/src/fiber.cpp @@ -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");