Changed strlen to etl::strlen

This commit is contained in:
John Wellbelove 2019-11-04 15:17:25 +00:00
parent 607b8bcd56
commit db8f03c184
2 changed files with 3 additions and 2 deletions

View File

@ -1005,7 +1005,7 @@ namespace etl
{
ETL_ASSERT(position <= size(), ETL_ERROR(string_out_of_bounds));
insert(begin() + position, s, s + strlen(s));
insert(begin() + position, s, s + etl::strlen(s));
return *this;
}

View File

@ -47,6 +47,7 @@ SOFTWARE.
#include "exception.h"
#include "integral_limits.h"
#include "binary.h"
#include "char_traits.h"
#include "private/minmax_push.h"
@ -294,7 +295,7 @@ namespace etl
{
reset();
size_t i = std::min(NBITS, strlen(text));
size_t i = std::min(NBITS, etl::strlen(text));
while (i > 0)
{