diff options
author | moskupols <moskupols@yandex-team.ru> | 2022-02-10 16:50:52 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:52 +0300 |
commit | 7a8bfeeee3a2a91c8b26e196d49efc264a0f9941 (patch) | |
tree | 1b8e23cfad053b844f02054a0d30f8d1c355859f /library/cpp/uri/other.h | |
parent | dd6b55b11723e4bb5b0cf7bffc0e45f15e2e46d3 (diff) | |
download | ydb-7a8bfeeee3a2a91c8b26e196d49efc264a0f9941.tar.gz |
Restoring authorship annotation for <moskupols@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/uri/other.h')
-rw-r--r-- | library/cpp/uri/other.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/uri/other.h b/library/cpp/uri/other.h index 7aec22e77b..766930c3bf 100644 --- a/library/cpp/uri/other.h +++ b/library/cpp/uri/other.h @@ -19,23 +19,23 @@ inline TString& InvertDomain(TString& url) { return url; } -void InvertUrl(char* begin, char* end); - -inline void InvertUrl(char* url) { - InvertUrl(url, url + strlen(url)); -} - +void InvertUrl(char* begin, char* end); + +inline void InvertUrl(char* url) { + InvertUrl(url, url + strlen(url)); +} + inline TString& InvertUrl(TString& url) { InvertUrl(url.begin(), url.begin() + url.size()); return url; } -void RevertUrl(char* begin, char* end); - -inline void RevertUrl(char* url) { - RevertUrl(url, url + strlen(url)); -} - +void RevertUrl(char* begin, char* end); + +inline void RevertUrl(char* url) { + RevertUrl(url, url + strlen(url)); +} + inline TString& RevertUrl(TString& url) { RevertUrl(url.begin(), url.begin() + url.size()); return url; |