aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/strbase.h
diff options
context:
space:
mode:
authorOleg Sidorkin <osidorkin@gmail.com>2022-02-10 16:49:36 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:36 +0300
commit5ce74d4fee2d42a4b86efc02dfdc704d458760e1 (patch)
treef16a3558ca40d453a1c6a2ed764bd75d64cffade /util/generic/strbase.h
parentcd33f9aa8461f8e2b0b9e68efbb6bc9856197dc9 (diff)
downloadydb-5ce74d4fee2d42a4b86efc02dfdc704d458760e1.tar.gz
Restoring authorship annotation for Oleg Sidorkin <osidorkin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/generic/strbase.h')
-rw-r--r--util/generic/strbase.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/strbase.h b/util/generic/strbase.h
index ab39fc7537..92ff9c35a5 100644
--- a/util/generic/strbase.h
+++ b/util/generic/strbase.h
@@ -173,10 +173,10 @@ public:
}
inline TCharType front() const noexcept {
- Y_ASSERT(!empty());
- return Ptr()[0];
- }
-
+ Y_ASSERT(!empty());
+ return Ptr()[0];
+ }
+
constexpr const TCharType* data() const noexcept {
return Ptr();
}