mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 08:31:03 +08:00
Correct the return type on two format overloads
This commit is contained in:
parent
c1034550d2
commit
800ae143aa
4
date.h
4
date.h
@ -5128,7 +5128,7 @@ format(const std::basic_string<CharT, Traits>& fmt, const sys_time<Duration>& tp
|
||||
}
|
||||
|
||||
template <class CharT, class Traits, class Rep, class Period>
|
||||
std::basic_string<CharT>
|
||||
std::basic_string<CharT, Traits>
|
||||
format(const std::locale& loc, const std::basic_string<CharT, Traits>& fmt,
|
||||
const std::chrono::duration<Rep, Period>& d)
|
||||
{
|
||||
@ -5139,7 +5139,7 @@ format(const std::locale& loc, const std::basic_string<CharT, Traits>& fmt,
|
||||
}
|
||||
|
||||
template <class CharT, class Traits, class Rep, class Period>
|
||||
std::basic_string<CharT>
|
||||
std::basic_string<CharT, Traits>
|
||||
format(const std::basic_string<CharT, Traits>& fmt,
|
||||
const std::chrono::duration<Rep, Period>& d)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user