rice/detail/MethodInfo.ipp in rice-4.0.4 vs rice/detail/MethodInfo.ipp in rice-4.1.0
- old
+ new
@@ -11,10 +11,10 @@
// Fill in any missing arguments
for (size_t i = this->args_.size(); i < argCount; i++)
{
Arg arg("arg_" + std::to_string(i));
- this->args_.emplace_back(arg);
+ this->addArg(arg);
}
// TODO - so hacky but update the Arg positions
for (uint32_t i = 0; i < this->args_.size(); i++)
{