Commit 6322ddd6 authored by Sebastien Jourdain's avatar Sebastien Jourdain
Browse files

Fix SessionProxyManager Warning

Change-Id: I94f16464410f1e3f8110ba15479e51f7f03d42a4
parent 5f490998
......@@ -1196,9 +1196,9 @@ vtkPVXMLElement* vtkSMSessionProxyManager::AddInternalState(vtkPVXMLElement *par
// Set version number on the state element.
vtksys_ios::ostringstream version_string;
vtkSMProxyManager* px = vtkSMProxyManager::GetProxyManager();
version_string << px->GetVersionMajor() << "."
<< px->GetVersionMinor() << "." << px->GetVersionPatch();
version_string << vtkSMProxyManager::GetVersionMajor() << "."
<< vtkSMProxyManager::GetVersionMinor() << "."
<< vtkSMProxyManager::GetVersionPatch();
rootElement->AddAttribute("version", version_string.str().c_str());
......
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