pybind11.h: minor cleanups (no functionality change)

This commit is contained in:
Wenzel Jakob 2016-07-18 10:47:10 +02:00
parent 6969e7c1ba
commit 1f66a58427

View File

@ -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 += ", ";