From 2fbbae6a774eb0e72c04f0552146ace32edeb6cf Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Tue, 8 Feb 2022 08:38:25 +0700 Subject: [PATCH] basic_format_context::arg should be noexcept --- stl/inc/format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stl/inc/format b/stl/inc/format index cd441791ba..2f60563a76 100644 --- a/stl/inc/format +++ b/stl/inc/format @@ -1733,7 +1733,7 @@ public: _Out _OutputIt_, basic_format_args _Ctx_args, const _Lazy_locale& _Loc_) : _OutputIt(_STD move(_OutputIt_)), _Args(_Ctx_args), _Loc(_Loc_) {} - _NODISCARD basic_format_arg arg(size_t _Id) const { + _NODISCARD basic_format_arg arg(size_t _Id) const noexcept { return _Args.get(_Id); } _NODISCARD locale locale() {