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

Use const char pointer for field name

parent fecf3a44
......@@ -41,7 +41,7 @@ void vtkRowQuery::PrintSelf(ostream &os, vtkIndent indent)
<< this->CaseSensitiveFieldNames << endl;
}
int vtkRowQuery::GetFieldIndex(char* name)
int vtkRowQuery::GetFieldIndex(const char* name)
{
vtkStdString lcSearchName(name);
std::transform(lcSearchName.begin(),
......
......@@ -92,7 +92,7 @@ public:
* Uses GetNumberOfFields() and GetFieldName()
* to match field name.
*/
int GetFieldIndex(char* name);
int GetFieldIndex(const char* name);
/**
* Advance row, return false if past end.
......
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