diff options
author | B Stack <bgstack15@gmail.com> | 2020-02-15 11:50:31 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-02-15 11:50:31 -0500 |
commit | 791b90b9898cc41869538f1dfc303588436682b7 (patch) | |
tree | 02cc7f817d95ce3f21207cbaba130e3d537fc1eb /zen/zstring.cpp | |
parent | Merge branch '10.19' into 'master' (diff) | |
download | FreeFileSync-791b90b9898cc41869538f1dfc303588436682b7.tar.gz FreeFileSync-791b90b9898cc41869538f1dfc303588436682b7.tar.bz2 FreeFileSync-791b90b9898cc41869538f1dfc303588436682b7.zip |
add upstream 10.20
It is worth noting that the send email feature is not present in the
GPL release.
Diffstat (limited to 'zen/zstring.cpp')
-rw-r--r-- | zen/zstring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/zstring.cpp b/zen/zstring.cpp index f018b14f..ff20b8cf 100644 --- a/zen/zstring.cpp +++ b/zen/zstring.cpp @@ -17,7 +17,7 @@ using namespace zen; Zstring makeUpperCopy(const Zstring& str) { //fast pre-check: - if (isAsciiString(str.c_str())) //perf: in the range of 3.5ns + if (isAsciiString(str)) //perf: in the range of 3.5ns { Zstring output = str; for (Zchar& c : output) c = asciiToUpper(c); @@ -49,7 +49,7 @@ Zstring makeUpperCopy(const Zstring& str) Zstring getUnicodeNormalForm(const Zstring& str) { //fast pre-check: - if (isAsciiString(str.c_str())) //perf: in the range of 3.5ns + if (isAsciiString(str)) //perf: in the range of 3.5ns return str; //god bless our ref-counting! => save output string memory consumption! //Example: const char* decomposed = "\x6f\xcc\x81"; |