STYLE: use auto with vtkSmartPointer

This commit is contained in:
Mark Olesen
2017-07-03 13:33:53 +02:00
parent 7ac55ac74a
commit 1d56e9f136
10 changed files with 34 additions and 61 deletions

View File

@ -81,7 +81,7 @@ void Foam::functionObjects::runTimePostPro::text::addGeometryToScene
return;
}
vtkSmartPointer<vtkTextActor> actor = vtkSmartPointer<vtkTextActor>::New();
auto actor = vtkSmartPointer<vtkTextActor>::New();
// Concatenate string with timeStamp if true
string textAndTime = string_;