aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/json_writer.h
diff options
context:
space:
mode:
authora-square <a-square@yandex-team.ru>2022-02-10 16:50:24 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:24 +0300
commita01c1f7b71b4422f01b11d9ea45bfd88e228c968 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/json/json_writer.h
parent34f3f9bd7972f67d913075206081554a3e39a0de (diff)
downloadydb-a01c1f7b71b4422f01b11d9ea45bfd88e228c968.tar.gz
Restoring authorship annotation for <a-square@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/json/json_writer.h')
-rw-r--r--library/cpp/json/json_writer.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/library/cpp/json/json_writer.h b/library/cpp/json/json_writer.h
index 006bfe53252..c7f5c9499a4 100644
--- a/library/cpp/json/json_writer.h
+++ b/library/cpp/json/json_writer.h
@@ -156,22 +156,22 @@ namespace NJson {
// nothing to do
}
- void WriteKey(const TStringBuf key) {
- Buf.WriteKey(key);
- }
-
- void WriteKey(const unsigned char* key) {
- WriteKey((const char*)key);
- }
-
- void WriteKey(const char* key) {
- WriteKey(TStringBuf{key});
- }
-
- void WriteKey(const TString& key) {
- WriteKey(TStringBuf{key});
- }
-
+ void WriteKey(const TStringBuf key) {
+ Buf.WriteKey(key);
+ }
+
+ void WriteKey(const unsigned char* key) {
+ WriteKey((const char*)key);
+ }
+
+ void WriteKey(const char* key) {
+ WriteKey(TStringBuf{key});
+ }
+
+ void WriteKey(const TString& key) {
+ WriteKey(TStringBuf{key});
+ }
+
void WriteKey(const std::string& key) {
WriteKey(TStringBuf{key});
}