aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-12 16:12:43 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-12 16:12:43 +0300
commitd731aa4b191e1f646ad26e7b7d440bc30dfccdab (patch)
treedf3c99b4e53e84c57e6ef68fc2338e61404f918a /library/cpp
parent22224c07e601c579339d5df9d1bfd10f9095fbe6 (diff)
downloadydb-d731aa4b191e1f646ad26e7b7d440bc30dfccdab.tar.gz
intermediate changes
ref:5cd03e14d9aa55d1fec7a1ad38339021b48a72f1
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/scheme/scheme.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/scheme/scheme.h b/library/cpp/scheme/scheme.h
index 3d7c59f3c9..cc0699c67a 100644
--- a/library/cpp/scheme/scheme.h
+++ b/library/cpp/scheme/scheme.h
@@ -296,8 +296,8 @@ namespace NSc {
static const EJsonOpts JO_PARSER_STRICT = TJsonOpts::JO_PARSER_STRICT; // strict json + strict utf8 + comments are disallowed
static const EJsonOpts JO_PARSER_DISALLOW_DUPLICATE_KEYS = TJsonOpts::JO_PARSER_DISALLOW_DUPLICATE_KEYS;
- static TValue FromJson(TStringBuf, const TJsonOpts& = TJsonOpts());
- static TValue FromJsonThrow(TStringBuf, const TJsonOpts& = TJsonOpts());
+ [[nodiscard]] static TValue FromJson(TStringBuf, const TJsonOpts& = TJsonOpts());
+ [[nodiscard]] static TValue FromJsonThrow(TStringBuf, const TJsonOpts& = TJsonOpts());
static bool FromJson(TValue&, TStringBuf, const TJsonOpts& = TJsonOpts());
// TODO: Переименовать ToJson в ToJsonUnsafe, а ToJsonSafe в ToJson