From 460091fb0b2ff114cc741372f15bb43b702ea3b1 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:24:35 +0200 Subject: 5.16 --- 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 474c48c5..80481856 100644 --- a/zen/time.h +++ b/zen/time.h @@ -291,7 +291,7 @@ bool parseTime(const String& format, const String& str, TimeComp& comp) //return if (std::any_of(iterStr, iterStr + digitCount, [](CharType c) { return !isDigit(c); })) return false; - result = zen::stringTo(StringProxy(iterStr, digitCount)); + result = zen::stringTo(StringRef(iterStr, iterStr + digitCount)); iterStr += digitCount; return true; }; -- cgit