forked from boostorg/beast
Fix compile errors
This commit is contained in:
1 parent
95314b7c3a
commit
e2d3f741b8
4 files changed
+7
-9
No files matched your search
@@ -91,7 +91,7 @@ struct stream_base
|
||||
}
|
||||
};
|
||||
|
||||
static constexpr time_point never()
|
||||
static time_point never() noexcept
|
||||
{
|
||||
return (time_point::max)();
|
||||
}
|
||||
|
||||
@@ -152,7 +152,7 @@ class stream
|
||||
using time_point = typename
|
||||
std::chrono::steady_clock::time_point;
|
||||
|
||||
static constexpr time_point never()
|
||||
static time_point never() noexcept
|
||||
{
|
||||
return (time_point::max)();
|
||||
}
|
||||
|
||||
@@ -33,7 +33,6 @@ struct stream_base
|
||||
|
||||
/// Returns the special time_point value meaning "never"
|
||||
static
|
||||
constexpr
|
||||
time_point
|
||||
never() noexcept
|
||||
{
|
||||
@@ -42,7 +41,6 @@ struct stream_base
|
||||
|
||||
/// Returns the special duration value meaning "none"
|
||||
static
|
||||
constexpr
|
||||
duration
|
||||
none() noexcept
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user