Commit c542c178 authored by Charles Law's avatar Charles Law
Browse files

Would not compile

parent 22ab0619
......@@ -76,9 +76,10 @@ void vtkMultiThreader::SetMultipleMethod( int index,
void *data )
{
// You can only set the method for 0 through ThreadCount-1
if ( index >= this->ThreadCount )
if ( index >= this->ThreadCount ) {
vtkErrorMacro( << "Can't set method " << index <<
" with a thread count of " << this->ThreadCount );
" with a thread count of " << this->ThreadCount );
}
else
{
this->MultipleMethod[index] = f;
......
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