From 800ae143aa99579bf7d10546228207e5f5c2d700 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Mon, 6 Feb 2017 10:18:08 -0500 Subject: [PATCH] Correct the return type on two format overloads --- date.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/date.h b/date.h index 3dd657a..d45c007 100644 --- a/date.h +++ b/date.h @@ -5128,7 +5128,7 @@ format(const std::basic_string& fmt, const sys_time& tp } template -std::basic_string +std::basic_string format(const std::locale& loc, const std::basic_string& fmt, const std::chrono::duration& d) { @@ -5139,7 +5139,7 @@ format(const std::locale& loc, const std::basic_string& fmt, } template -std::basic_string +std::basic_string format(const std::basic_string& fmt, const std::chrono::duration& d) {