From a4e77e502f52ce775101646ce27092af7a02b419 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Mon, 11 May 2015 05:46:26 -0400 Subject: [PATCH] Re-add bool fiber_manager::preserve_fpu() to header file. --- include/boost/fiber/fiber_manager.hpp | 1 + src/fiber_manager.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/fiber/fiber_manager.hpp b/include/boost/fiber/fiber_manager.hpp index 43fcfd81..bcba2597 100644 --- a/include/boost/fiber/fiber_manager.hpp +++ b/include/boost/fiber/fiber_manager.hpp @@ -94,6 +94,7 @@ public: std::chrono::high_resolution_clock::duration wait_interval() noexcept; + bool preserve_fpu() const; void preserve_fpu( bool); }; diff --git a/src/fiber_manager.cpp b/src/fiber_manager.cpp index 813802c7..3352b8c8 100644 --- a/src/fiber_manager.cpp +++ b/src/fiber_manager.cpp @@ -251,7 +251,7 @@ fiber_manager::wait_interval() noexcept { } bool -fiber_manager::preserve_fpu() { +fiber_manager::preserve_fpu() const { return preserve_fpu_; }