From 5b604dd360ffc162f163962ccb2b1af109a5f93f Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 17 Oct 2019 15:59:39 -0400 Subject: add upstream 10.17 --- zen/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zen/time.h') diff --git a/zen/time.h b/zen/time.h index a32e28e3..27ce518f 100644 --- a/zen/time.h +++ b/zen/time.h @@ -335,7 +335,7 @@ TimeComp parseTime(const String& format, const String2& str, UserDefinedFormatTa if (!std::all_of(itStr, itStr + digitCount, isDigit)) return false; - result = zen::stringTo(StringRef(itStr, itStr + digitCount)); + result = zen::stringTo(makeStringView(itStr, digitCount)); itStr += digitCount; return true; }; -- cgit