diff options
author | Vlad Yaroslavlev <[email protected]> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/string/strip.cpp | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) |
Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/string/strip.cpp')
-rw-r--r-- | util/string/strip.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/string/strip.cpp b/util/string/strip.cpp index 0765806359c..c921571cf06 100644 --- a/util/string/strip.cpp +++ b/util/string/strip.cpp @@ -3,11 +3,11 @@ #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); +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) { +void CollapseText(const TString& from, TString& to, size_t maxLen) { Collapse(from, to, maxLen); StripInPlace(to); if (to.size() >= maxLen) { |