Commit 1f66a584 by Wenzel Jakob

pybind11.h: minor cleanups (no functionality change)

parent 6969e7c1
......@@ -476,8 +476,7 @@ protected:
}
msg += " Invoked with: ";
tuple args_(args, true);
for( std::size_t ti = overloads->is_constructor ? 1 : 0; ti < args_.size(); ++ti)
{
for (size_t ti = overloads->is_constructor ? 1 : 0; ti < args_.size(); ++ti) {
msg += static_cast<std::string>(static_cast<object>(args_[ti]).str());
if ((ti + 1) != args_.size() )
msg += ", ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment