aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/strip.cpp
diff options
context:
space:
mode:
authorOleg Sidorkin <osidorkin@gmail.com>2022-04-16 13:43:06 +0300
committerOleg Sidorkin <osidorkin@gmail.com>2022-04-16 13:43:06 +0300
commitc1e51b5d64d252145765d1529a71271ee4d33812 (patch)
treeaee1d5a24b2035a857fdf47ac4788b2278a088f5 /util/string/strip.cpp
parent09be10fcbbf04de7c78405d5bf7c18117a1b339f (diff)
downloadydb-c1e51b5d64d252145765d1529a71271ee4d33812.tar.gz
Add Collapse variant for utf-32 strings
ref:5897581c4d2be8d8775525221d2d910c04d788b8
Diffstat (limited to 'util/string/strip.cpp')
-rw-r--r--util/string/strip.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/string/strip.cpp b/util/string/strip.cpp
index c921571cf0..1cf5e33096 100644
--- a/util/string/strip.cpp
+++ b/util/string/strip.cpp
@@ -3,10 +3,6 @@
#include <util/string/reverse.h>
-bool Collapse(const TString& from, TString& to, size_t maxLen) {
- return CollapseImpl<TString, bool (*)(unsigned char)>(from, to, maxLen, IsAsciiSpace);
-}
-
void CollapseText(const TString& from, TString& to, size_t maxLen) {
Collapse(from, to, maxLen);
StripInPlace(to);