From e1698b64a322bfae69755f530db6072cd1435ccf Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Sat, 27 Dec 2014 21:16:36 +0100 Subject: [PATCH] static-cast to int for errc --- include/boost/fiber/bounded_queue.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/fiber/bounded_queue.hpp b/include/boost/fiber/bounded_queue.hpp index 7bf114de..258de67b 100644 --- a/include/boost/fiber/bounded_queue.hpp +++ b/include/boost/fiber/bounded_queue.hpp @@ -210,7 +210,7 @@ public: hwm_( hwm), lwm_( lwm) { if ( hwm_ < lwm_) { - throw invalid_argument( std::errc::invalid_argument, + throw invalid_argument( static_cast< int >( std::errc::invalid_argument), "boost fiber: high-watermark is less than low-watermark for bounded_queue"); } }