From a90869d512f71aa5dc8cb98dd82e2e6eed0db973 Mon Sep 17 00:00:00 2001 From: gabime Date: Wed, 7 Aug 2019 20:15:20 +0300 Subject: [PATCH] Add FMT_NOEXCEPT to basic_string_view ctor --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 898d447d..6c93cfa3 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -262,7 +262,7 @@ template class basic_string_view { the size with ``std::char_traits::length``. \endrst */ - basic_string_view(const Char* s) + basic_string_view(const Char* s) FMT_NOEXCEPT : data_(s), size_(std::char_traits::length(s)) {} /** Constructs a string reference from a ``std::basic_string`` object. */