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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user