diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2024-04-14 18:25:13 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2024-04-14 18:34:17 +0300 |
commit | 4b72cdcffc13ee30879636f719934b6f95285c90 (patch) | |
tree | fc78a1578ee948ea71f7763952f1c28b40281f69 /util/datetime | |
parent | 93702c900844c92c3d8daef5a75ac89eb32157ab (diff) | |
download | ydb-4b72cdcffc13ee30879636f719934b6f95285c90.tar.gz |
[[nodiscard]] for static function TDuration::Parse
4475987f399172bada73db028180b5e773e58a30
Diffstat (limited to 'util/datetime')
-rw-r--r-- | util/datetime/base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datetime/base.h b/util/datetime/base.h index c43b9775d0..a0fc71bab4 100644 --- a/util/datetime/base.h +++ b/util/datetime/base.h @@ -308,7 +308,7 @@ public: } /// parses strings like 10s, 15ms, 15.05s, 20us, or just 25 (s). See parser_ut.cpp for details - static TDuration Parse(const TStringBuf input); + [[nodiscard]] static TDuration Parse(const TStringBuf input); static bool TryParse(const TStringBuf input, TDuration& result); |