mirror of
https://github.com/HowardHinnant/date.git
synced 2025-01-14 01:37:57 +08:00
Back off the constexpr on time_of_day_storage for C++11.
This commit is contained in:
parent
8f5e5e4110
commit
33ddd7e51d
4
date.h
4
date.h
@ -3628,7 +3628,7 @@ public:
|
||||
|
||||
CONSTCD11 std::chrono::hours hours() const NOEXCEPT {return h_;}
|
||||
CONSTCD11 std::chrono::minutes minutes() const NOEXCEPT {return m_;}
|
||||
CONSTCD11 std::chrono::seconds& seconds() NOEXCEPT {return s_;}
|
||||
CONSTCD14 std::chrono::seconds& seconds() NOEXCEPT {return s_;}
|
||||
CONSTCD11 std::chrono::seconds seconds() const NOEXCEPT {return s_;}
|
||||
CONSTCD11 unsigned mode() const NOEXCEPT {return mode_;}
|
||||
|
||||
@ -3709,7 +3709,7 @@ public:
|
||||
|
||||
CONSTCD11 std::chrono::hours hours() const NOEXCEPT {return h_;}
|
||||
CONSTCD11 std::chrono::minutes minutes() const NOEXCEPT {return m_;}
|
||||
CONSTCD11 std::chrono::seconds& seconds() NOEXCEPT {return s_;}
|
||||
CONSTCD14 std::chrono::seconds& seconds() NOEXCEPT {return s_;}
|
||||
CONSTCD11 std::chrono::seconds seconds() const NOEXCEPT {return s_;}
|
||||
CONSTCD11 precision subseconds() const NOEXCEPT {return sub_s_;}
|
||||
CONSTCD11 unsigned mode() const NOEXCEPT {return mode_;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user