aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/domscheme_traits.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/json/domscheme_traits.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/domscheme_traits.h')
-rw-r--r--library/cpp/json/domscheme_traits.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/json/domscheme_traits.h b/library/cpp/json/domscheme_traits.h
index a5a99cd8cf..91c3351b22 100644
--- a/library/cpp/json/domscheme_traits.h
+++ b/library/cpp/json/domscheme_traits.h
@@ -9,7 +9,7 @@ struct TJsonTraits {
using TValue = NJson::TJsonValue;
using TValueRef = TValue*;
using TConstValueRef = const TValue*;
- using TStringType = TStringBuf;
+ using TStringType = TStringBuf;
// anyvalue defaults
template <class T>
@@ -104,7 +104,7 @@ struct TJsonTraits {
return v->GetMap().size();
}
- using TDictIterator = NJson::TJsonValue::TMapType::const_iterator;
+ using TDictIterator = NJson::TJsonValue::TMapType::const_iterator;
static inline TDictIterator DictBegin(TConstValueRef v) {
return v->GetMap().begin();
@@ -200,8 +200,8 @@ struct TJsonTraits {
}
// validation ops
- static inline TVector<TString> GetKeys(TConstValueRef v) {
- TVector<TString> res;
+ static inline TVector<TString> GetKeys(TConstValueRef v) {
+ TVector<TString> res;
for (const auto& it : v->GetMap()) {
res.push_back(it.first);
}