aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/scheme/scimpl.h
diff options
context:
space:
mode:
authorVasily Gerasimov <UgnineSirdis@gmail.com>2022-02-10 16:49:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:09 +0300
commit6cdc8f140213c595e4ad38bc3d97fcef1146b8c3 (patch)
treef69637041e6fed76ebae0c74ae1fa0c4be6ab5b4 /library/cpp/scheme/scimpl.h
parente5d4696304c6689379ac7ce334512404d4b7836c (diff)
downloadydb-6cdc8f140213c595e4ad38bc3d97fcef1146b8c3.tar.gz
Restoring authorship annotation for Vasily Gerasimov <UgnineSirdis@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/scheme/scimpl.h')
-rw-r--r--library/cpp/scheme/scimpl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/scheme/scimpl.h b/library/cpp/scheme/scimpl.h
index 4f68f16290f..7f0fc758ef1 100644
--- a/library/cpp/scheme/scimpl.h
+++ b/library/cpp/scheme/scimpl.h
@@ -280,13 +280,13 @@ namespace NSc {
TDict::const_iterator it = Dict.find(key);
return it != Dict.end() ? it->second : TValue::DefaultValue();
- }
-
+ }
+
TValue* GetNoAdd(TStringBuf key) {
if (!IsDict()) {
return nullptr;
}
-
+
return Dict.FindPtr(key);
}
@@ -582,7 +582,7 @@ namespace NSc {
TValue& TValue::Back() {
return CoreMutable().Back();
}
-
+
const TValue& TValue::Back() const {
const TArray& arr = GetArray();
return arr.empty() ? DefaultValue() : arr.back();