diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/uri/other.h | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/uri/other.h')
-rw-r--r-- | library/cpp/uri/other.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/uri/other.h b/library/cpp/uri/other.h index 7aec22e77b..c2f5ec794e 100644 --- a/library/cpp/uri/other.h +++ b/library/cpp/uri/other.h @@ -1,6 +1,6 @@ #pragma once -#include <util/generic/string.h> +#include <util/generic/string.h> // Some functions for inverted url representation // No scheme cut-off, no 80th port normalization @@ -14,7 +14,7 @@ void UnTrspChars(const char* s, char* d); void InvertDomain(char* begin, char* end); -inline TString& InvertDomain(TString& url) { +inline TString& InvertDomain(TString& url) { InvertDomain(url.begin(), url.begin() + url.size()); return url; } @@ -25,7 +25,7 @@ inline void InvertUrl(char* url) { InvertUrl(url, url + strlen(url)); } -inline TString& InvertUrl(TString& url) { +inline TString& InvertUrl(TString& url) { InvertUrl(url.begin(), url.begin() + url.size()); return url; } @@ -36,7 +36,7 @@ inline void RevertUrl(char* url) { RevertUrl(url, url + strlen(url)); } -inline TString& RevertUrl(TString& url) { +inline TString& RevertUrl(TString& url) { RevertUrl(url.begin(), url.begin() + url.size()); return url; } |