mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Changed strlen to etl::strlen
This commit is contained in:
parent
607b8bcd56
commit
db8f03c184
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user