aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/domscheme_traits.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/json/domscheme_traits.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 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 91c3351b22..a5a99cd8cf 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);
}