Commit f9bf9de4 authored by Ben Boeckel's avatar Ben Boeckel

vtkOSPRayPass: just use const char* up front

parent b68971e5
......@@ -79,7 +79,7 @@ vtkOSPRayPass::vtkOSPRayPass()
int ac =args.size()+1;
char* av[ac];
const char* av[ac];
av[0] = new char[512];
for(int i=1;i < ac; i++)
......@@ -89,7 +89,7 @@ vtkOSPRayPass::vtkOSPRayPass()
ospInit(&ac, (const char**)av);
ospInit(&ac, av);
catch (std::runtime_error &vtkNotUsed(e))
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