aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/uri/uri.h
diff options
context:
space:
mode:
authorsvshevtsov <svshevtsov@yandex-team.ru>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commit657337012a264721d58c470b4e9e796611f3c492 (patch)
tree82753fd92cf7cc2dea4e522a945ed570131f920b /library/cpp/uri/uri.h
parent44f31b316af517a4fbc6a82ebed8a1c51807deac (diff)
downloadydb-657337012a264721d58c470b4e9e796611f3c492.tar.gz
Restoring authorship annotation for <svshevtsov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/uri/uri.h')
-rw-r--r--library/cpp/uri/uri.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/uri/uri.h b/library/cpp/uri/uri.h
index 3b6c19fe4a..ee8f22175c 100644
--- a/library/cpp/uri/uri.h
+++ b/library/cpp/uri/uri.h
@@ -4,7 +4,7 @@
#include "encode.h"
#include <library/cpp/charset/doccodes.h>
-#include <util/generic/buffer.h>
+#include <util/generic/buffer.h>
#include <util/generic/ptr.h>
#include <util/generic/singleton.h>
#include <util/generic/string.h>
@@ -33,7 +33,7 @@ namespace NUri {
};
private:
- TBuffer Buffer;
+ TBuffer Buffer;
TStringBuf Fields[FieldAllMAX];
ui32 FieldsSet;
ui16 Port;
@@ -45,10 +45,10 @@ namespace NUri {
private:
void Alloc(size_t len) {
Dealloc(); // to prevent copy below
- Buffer.Resize(len);
+ Buffer.Resize(len);
}
void Dealloc() {
- Buffer.Clear();
+ Buffer.Clear();
}
void ClearImpl() {
@@ -70,7 +70,7 @@ namespace NUri {
for (int i = 0; i < FieldAllMAX; ++i)
Fields[i] = url.Fields[i];
- RewriteImpl();
+ RewriteImpl();
}
private:
@@ -209,7 +209,7 @@ namespace NUri {
private:
bool IsInBuffer(const char* buf) const {
- return buf >= Buffer.data() && buf < Buffer.data() + Buffer.size();
+ return buf >= Buffer.data() && buf < Buffer.data() + Buffer.size();
}
public:
@@ -260,7 +260,7 @@ namespace NUri {
TUri(const TStringBuf& host, ui16 port, const TStringBuf& path, const TStringBuf& query = TStringBuf(), const TStringBuf& scheme = "http", unsigned defaultPort = 0);
TUri(const TUri& url)
- : FieldsSet(url.FieldsSet)
+ : FieldsSet(url.FieldsSet)
, Port(url.Port)
, DefaultPort(url.DefaultPort)
, Scheme(url.Scheme)