Using `data()` better communicates the intent here. Also, depending on how `c_str()` is implemented, this fixes undefined behavior: The part of the string after the first NULL character might have undefined contents.pull/764/head
parent
a25945318f
commit
f3b51eb935
Loading…
Reference in new issue