We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
daw_ensure.h
1 parent 329d149 commit 9c23a7eCopy full SHA for 9c23a7e
1 file changed
include/daw/daw_string_view.h
@@ -24,6 +24,7 @@
24
#include "daw/daw_cpp_feature_check.h"
25
#include "daw/daw_data_end.h"
26
#include "daw/daw_enable_requires.h"
27
+#include "daw/daw_ensure.h"
28
#include "daw/daw_fnv1a_hash.h"
29
#include "daw/daw_is_constant_evaluated.h"
30
#include "daw/daw_likely.h"
@@ -501,7 +502,8 @@ namespace daw {
501
502
DAW_CPP20_CX_ALLOC c_str_proxy( CharT const *str, std::size_t N ) noexcept
503
: m_str{ std::basic_string( str, N ) } {
504
#if not defined( DAW_STRINGVIEW_NOZTERM_CHECK )
- daw_dbg_ensure( N == sv2_details::strlen<std::size_t>( std::get<1>( m_str ).c_str( ) ) );
505
+ daw_dbg_ensure( N == sv2_details::strlen<std::size_t>(
506
+ std::get<1>( m_str ).c_str( ) ) );
507
#endif
508
}
509
0 commit comments