aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorgrachev <grachev@yandex-team.ru>2022-02-10 16:49:35 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:35 +0300
commit492d4842b42175970fd597869540936bf152ffb1 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp
parent12e3c82a4c0895fe4f03a4dc5d6f100cae665b64 (diff)
downloadydb-492d4842b42175970fd597869540936bf152ffb1.tar.gz
Restoring authorship annotation for <grachev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/regex/pire/pire.h2
-rw-r--r--library/cpp/uri/other.cpp4
-rw-r--r--library/cpp/uri/parsefsm.rl64
3 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/regex/pire/pire.h b/library/cpp/regex/pire/pire.h
index 63ac81f177..286fecd693 100644
--- a/library/cpp/regex/pire/pire.h
+++ b/library/cpp/regex/pire/pire.h
@@ -46,7 +46,7 @@ namespace NPire {
using Pire::Matches;
using Pire::MmappedScanner;
using Pire::Run;
- using Pire::Runner;
+ using Pire::Runner;
using Pire::ShortestPrefix;
using Pire::ShortestSuffix;
using Pire::Step;
diff --git a/library/cpp/uri/other.cpp b/library/cpp/uri/other.cpp
index f6f8115a43..b23a5b68a9 100644
--- a/library/cpp/uri/other.cpp
+++ b/library/cpp/uri/other.cpp
@@ -34,10 +34,10 @@ void UnTrspChars(const char* s, char* d) {
}
void InvertDomain(char* begin, char* end) {
- // skip schema if it is present
+ // skip schema if it is present
const auto dotPos = TStringBuf{begin, end}.find('.');
if (dotPos == TStringBuf::npos)
- return; // no need to invert anything
+ return; // no need to invert anything
const auto schemaendPos = TStringBuf{begin, end}.find("://", 3);
if (schemaendPos < dotPos)
begin += schemaendPos + 3;
diff --git a/library/cpp/uri/parsefsm.rl6 b/library/cpp/uri/parsefsm.rl6
index 1500525e84..7097723650 100644
--- a/library/cpp/uri/parsefsm.rl6
+++ b/library/cpp/uri/parsefsm.rl6
@@ -466,7 +466,7 @@ namespace NUri {
bool TParser::doParse(const char* str_beg, size_t length)
{
- const char* p = str_beg;
+ const char* p = str_beg;
const char* pe = str_beg + length;
const char* eof = pe;
int cs;
@@ -487,7 +487,7 @@ bool TParser::doParse(const char* str_beg, size_t length)
cs = TParser_en_URI_ref_no_relpath;
}
- %% write exec;
+ %% write exec;
#undef BEG
#undef END