summaryrefslogtreecommitdiff
path: root/zen/zstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/zstring.cpp')
-rwxr-xr-xzen/zstring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/zstring.cpp b/zen/zstring.cpp
index 1fe31eaf..8bf77a0b 100755
--- a/zen/zstring.cpp
+++ b/zen/zstring.cpp
@@ -49,8 +49,8 @@ int compareNoCaseUtf8(const char* lhs, size_t lhsLen, const char* rhs, size_t rh
impl::UtfDecoder<char> decR(rhs, rhsLen);
for (;;)
{
- const Opt<impl::CodePoint> cpL = decL.getNext();
- const Opt<impl::CodePoint> cpR = decR.getNext();
+ const std::optional<impl::CodePoint> cpL = decL.getNext();
+ const std::optional<impl::CodePoint> cpR = decR.getNext();
if (!cpL || !cpR)
return static_cast<int>(!cpR) - static_cast<int>(!cpL);
bgstack15