mirror of
https://github.com/microsoft/GSL.git
synced 2025-05-13 09:25:19 -04:00
Merge branch 'master' of https://github.com/neilmacintosh/GSL into remove-move-ops
This commit is contained in:
@ -98,7 +98,7 @@ namespace details
|
||||
{
|
||||
if (str == nullptr || n <= 0) return 0;
|
||||
|
||||
span<const CharT> str_span{str, n};
|
||||
const span<const CharT> str_span{str, n};
|
||||
|
||||
std::ptrdiff_t len = 0;
|
||||
while (len < n && str_span[len]) len++;
|
||||
|
Reference in New Issue
Block a user