Commit b2f75f79 authored by David Gobbi's avatar David Gobbi
Browse files

Wrapper build failed for pointers to vectors.

This fixes an oversight in std::vector<T> wrapping.  Parameters
of type "std::vector<T> *" caused a build error, now these are
excluded from wrapping.
parent d5f03eb7
......@@ -481,7 +481,9 @@ static int vtkWrapPython_IsValueWrappable(
}
}
if (vtkWrap_IsStdVector(val))
/* wrap std::vector<T> (IsScalar means "not pointer or array") */
if (vtkWrap_IsStdVector(val) &&
vtkWrap_IsScalar(val))
{
size_t l, n;
const char *tname;
......
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