Add constexpr constructor to StaticString (#659)

Fixes a header usage problem for MSVC, which complains about StaticString not having a constexpr constructor thus making the "make" method not constexpr.
This commit is contained in:
shartte
2018-12-24 08:51:18 +01:00
committed by Romain Guy
parent cd2786a2ef
commit f676d3d3ea
+1 -1
View File
@@ -77,7 +77,7 @@ public:
using const_pointer = const value_type*;
using const_iterator = const value_type*;
StaticString() noexcept = default;
constexpr StaticString() noexcept = default;
// initialization from a string literal
template <size_t N>