Fix compile errors

This commit is contained in:
Vinnie Falco committed 2019-02-20 22:37:00 -08:00
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)();
}
+1 -1
View File
@@ -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
{