summaryrefslogtreecommitdiffstats
path: root/library/cpp/json/json_writer.h
diff options
context:
space:
mode:
authora-square <[email protected]>2022-02-10 16:50:24 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:24 +0300
commit34f3f9bd7972f67d913075206081554a3e39a0de (patch)
tree89df462bfae95c8d9063871a9eae476233768b09 /library/cpp/json/json_writer.h
parente7879def805c52076a0b162a0270dfb229379d4e (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 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 c7f5c9499a4..006bfe53252 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});
}