fix(player_command): memory leak (#2504)
This commit is contained in:
parent
d2bcd69eac
commit
7299be8cb8
@ -92,6 +92,7 @@ namespace big
|
||||
result.push(plyr_id);
|
||||
}
|
||||
|
||||
new_args.reserve(args.size() - 1);
|
||||
std::copy(++args.begin(), args.end(), new_args.begin());
|
||||
// for (int i = 1; i < args.size(); i++)
|
||||
// new_args.push_back(args[i]);
|
||||
|
Reference in New Issue
Block a user