From 27c2aeb6bba5db0c24982a9eaa50a1b60c7c1709 Mon Sep 17 00:00:00 2001 From: neargye Date: Thu, 24 Oct 2019 19:49:00 +0500 Subject: [PATCH] clean-up --- include/nameof.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nameof.hpp b/include/nameof.hpp index 34ff704..1f854f2 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -107,7 +107,7 @@ class [[nodiscard]] cstring { using reverse_iterator = std::reverse_iterator; using const_reverse_iterator = std::reverse_iterator; - explicit constexpr cstring(std::string_view str) noexcept : chars_{} { + constexpr explicit cstring(std::string_view str) noexcept : chars_{} { assert(str.size() == N); for (std::size_t i = 0; i < N; ++i) { chars_[i] = str[i];