Skip to content

Commit 30ef102

Browse files
hjmjohnsonSunderlandkyl
authored andcommitted
Qualify unqualified cout/endl in vtkPlusPolydataForce
vtkPlusPolydataForce.cxx used bare cout/endl, which relied on a transitive using-directive that newer libc++ no longer provides, so it fails to compile with "use of undeclared identifier 'cout'". Add a using directive so the file builds. Independent of ITK/VTK version.
1 parent 7a0509d commit 30ef102

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/PlusDataCollection/Haptics/vtkPlusPolydataForce.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ See License.txt for details.
1010
#include "vtkPolyData.h"
1111
#include "vtkPlusPolydataForce.h"
1212
#include "vtkMatrix4x4.h"
13+
14+
using namespace std;
1315

1416
//----------------------------------------------------------------------------
1517

0 commit comments

Comments
 (0)