aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/split.h
diff options
context:
space:
mode:
authorswarmer <swarmer@yandex-team.ru>2022-02-10 16:46:31 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:31 +0300
commit317da38588b7898a99fd9168571408123350012b (patch)
tree25eebc31526019ad39a6c1b13f492963d97ba439 /util/string/split.h
parent3b2241461d41d41ba1a706b0750c4f0f55c344f6 (diff)
downloadydb-317da38588b7898a99fd9168571408123350012b.tar.gz
Restoring authorship annotation for <swarmer@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/string/split.h')
-rw-r--r--util/string/split.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/string/split.h b/util/string/split.h
index bc46d9e64c..626ad69cda 100644
--- a/util/string/split.h
+++ b/util/string/split.h
@@ -508,11 +508,11 @@ namespace NStringSplitPrivate {
*dst = src;
}
- template <class T>
- inline void DoFromString(const T& src, decltype(std::ignore)* dst) noexcept {
- *dst = src;
- }
-
+ template <class T>
+ inline void DoFromString(const T& src, decltype(std::ignore)* dst) noexcept {
+ *dst = src;
+ }
+
template <class Src, class Dst>
inline Y_WARN_UNUSED_RESULT bool TryDoFromString(const Src& src, Dst* dst) noexcept {
return ::TryFromString(src, *dst);
@@ -524,12 +524,12 @@ namespace NStringSplitPrivate {
return true;
}
- template <class T>
- inline Y_WARN_UNUSED_RESULT bool TryDoFromString(const T& src, decltype(std::ignore)* dst) noexcept {
- *dst = src;
- return true;
- }
-
+ template <class T>
+ inline Y_WARN_UNUSED_RESULT bool TryDoFromString(const T& src, decltype(std::ignore)* dst) noexcept {
+ *dst = src;
+ return true;
+ }
+
/**
* Consumer that places provided elements into a container. Not using
* `emplace(iterator)` for efficiency.