2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-12 12:02:54 +00:00

static-cast to int for errc

This commit is contained in:
Oliver Kowalke
2014-12-27 21:16:36 +01:00
parent 7f7f01098b
commit e1698b64a3

View File

@@ -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");
}
}