mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 14:54:32 +02:00
Tidy up a warning
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
Version 165:
|
||||
|
||||
* Fix BOOST_NO_CXX11_ALLOCATOR check
|
||||
* Tidy up a warning
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@@ -72,6 +72,10 @@ verb_to_string(verb v)
|
||||
}
|
||||
|
||||
BOOST_THROW_EXCEPTION(std::invalid_argument{"unknown verb"});
|
||||
|
||||
// Help some compilers which don't know the next line is
|
||||
// unreachable, otherwise spurious warnings are generated.
|
||||
return "<unknown>";
|
||||
}
|
||||
|
||||
template<class = void>
|
||||
|
Reference in New Issue
Block a user