summaryrefslogtreecommitdiffstats
path: root/util/string/reverse.h
diff options
context:
space:
mode:
authorpg <[email protected]>2023-03-28 21:30:10 +0300
committerpg <[email protected]>2023-03-28 21:30:10 +0300
commit25659221f18577ea38430a8ec3349836f5626b6a (patch)
tree61f1c68d385eb4bde77c5c12e055eb6f44e1f9ae /util/string/reverse.h
parenta30195c57a0e043158d80a4385350eee326197f1 (diff)
Diffstat (limited to 'util/string/reverse.h')
-rw-r--r--util/string/reverse.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/string/reverse.h b/util/string/reverse.h
index 80f8b008874..3a70eef061d 100644
--- a/util/string/reverse.h
+++ b/util/string/reverse.h
@@ -5,12 +5,12 @@
void ReverseInPlace(TString& string);
/** NB. UTF-16 is variable-length encoding because of the surrogate pairs.
- * This function takes this into account and treats a surrogate pair as a single symbol.
- * Ex. if [C D] is a surrogate pair,
- * A B [C D] E
- * will become
- * E [C D] B A
- */
+ * This function takes this into account and treats a surrogate pair as a single symbol.
+ * Ex. if [C D] is a surrogate pair,
+ * A B [C D] E
+ * will become
+ * E [C D] B A
+ */
void ReverseInPlace(TUtf16String& string);
void ReverseInPlace(TUtf32String& string);