Commit ee7d9dc8 authored by Cory Quammen's avatar Cory Quammen
Browse files

Remove const qualifier for std::string return type

The const qualifier for the return type of
vtkGLTFExporter::WriteToString() is not needed. The return value is a
copy of a string, so const isn't needed to protect internal state of
the vtkGLTFExporter object.
parent 5d89daa8
......@@ -382,7 +382,7 @@ void WriteCamera(Json::Value &cameras, vtkRenderer *ren)
}
const std::string vtkGLTFExporter::WriteToString()
std::string vtkGLTFExporter::WriteToString()
{
std::ostringstream result;
......
......@@ -66,7 +66,7 @@ public:
/**
* Write the result to a string instead of a file
*/
const std::string WriteToString();
std::string WriteToString();
/**
* Write the result to a provided ostream
......
Supports Markdown
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