summaryrefslogtreecommitdiff
path: root/zen/zstring.cpp
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2018-09-10 02:46:25 +0000
committerB Stack <bgstack15@gmail.com>2018-09-10 02:46:25 +0000
commit728d32e6da9ce66968f8eef47a59505d613e2c1b (patch)
tree0f0441755ff0e6d65e12222d4502c648bffd6a7c /zen/zstring.cpp
parent10.3 (diff)
parentpull in latest 10.4 from upstream (diff)
downloadFreeFileSync-728d32e6da9ce66968f8eef47a59505d613e2c1b.tar.gz
FreeFileSync-728d32e6da9ce66968f8eef47a59505d613e2c1b.tar.bz2
FreeFileSync-728d32e6da9ce66968f8eef47a59505d613e2c1b.zip
Merge branch '10.4' into 'master'10.4
pull in latest 10.4 from upstream See merge request opensource-tracking/FreeFileSync!1
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