[ox/clargs] Fix overlapping memcpy that asan is being pedantic about

This commit is contained in:
Gary Talent 2021-04-21 01:04:07 -05:00
parent 9bd2a5a5ee
commit 9c63f26684

View File

@ -16,7 +16,7 @@ ClArgs::ClArgs(int argc, const char **args) noexcept {
String arg = args[i];
if (arg[0] == '-') {
while (arg[0] == '-' && arg.len()) {
arg = arg.c_str() + 1;
arg = arg.substr(1);
}
m_bools[arg] = true;
// parse additional arguments