Skip to content

Commit 9c23a7e

Browse files
committed
Added missing include daw_ensure.h to string_view
1 parent 329d149 commit 9c23a7e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

include/daw/daw_string_view.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "daw/daw_cpp_feature_check.h"
2525
#include "daw/daw_data_end.h"
2626
#include "daw/daw_enable_requires.h"
27+
#include "daw/daw_ensure.h"
2728
#include "daw/daw_fnv1a_hash.h"
2829
#include "daw/daw_is_constant_evaluated.h"
2930
#include "daw/daw_likely.h"
@@ -501,7 +502,8 @@ namespace daw {
501502
DAW_CPP20_CX_ALLOC c_str_proxy( CharT const *str, std::size_t N ) noexcept
502503
: m_str{ std::basic_string( str, N ) } {
503504
#if not defined( DAW_STRINGVIEW_NOZTERM_CHECK )
504-
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( ) ) );
505507
#endif
506508
}
507509

0 commit comments

Comments
 (0)