summaryrefslogtreecommitdiff
path: root/zen/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/time.h')
-rw-r--r--zen/time.h2
1 files changed, 1 insertions, 1 deletions
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<CharType>))
return false;
- result = zen::stringTo<int>(StringRef<const CharType>(itStr, itStr + digitCount));
+ result = zen::stringTo<int>(makeStringView(itStr, digitCount));
itStr += digitCount;
return true;
};
bgstack15