diff --git a/Testing/vtkAddonTestingUtilitiesTest1.cxx b/Testing/vtkAddonTestingUtilitiesTest1.cxx index a7b769a..d80ae64 100644 --- a/Testing/vtkAddonTestingUtilitiesTest1.cxx +++ b/Testing/vtkAddonTestingUtilitiesTest1.cxx @@ -21,6 +21,9 @@ // vtkAddon includes #include "vtkAddonTestingUtilities.h" +// STD includes +#include + using namespace vtkAddonTestingUtilities; //---------------------------------------------------------------------------- diff --git a/Testing/vtkParallelTransportTest1.cxx b/Testing/vtkParallelTransportTest1.cxx index e7d97d9..e30e36d 100644 --- a/Testing/vtkParallelTransportTest1.cxx +++ b/Testing/vtkParallelTransportTest1.cxx @@ -26,6 +26,9 @@ #include #include +// STD includes +#include + //---------------------------------------------------------------------------- int vtkParallelTransportTest1(int vtkNotUsed(argc), char* vtkNotUsed(argv)[]) { @@ -87,7 +90,7 @@ int vtkParallelTransportTest1(int vtkNotUsed(argc), char* vtkNotUsed(argv)[]) arc->GetOutput()->GetPoint(0, arcFirstPoint); double preferredNormalDirection[3] = { arcCenter[0] - arcFirstPoint[0], arcCenter[1] - arcFirstPoint[1], arcCenter[2] - arcFirstPoint[2] }; parallelTransportFrame->SetPreferredInitialNormalVector(preferredNormalDirection); - + parallelTransportFrame->SetInputConnection(arc->GetOutputPort()); parallelTransportFrame->Update(); diff --git a/vtkTestingOutputWindow.h b/vtkTestingOutputWindow.h index 2e789ee..b616ff4 100644 --- a/vtkTestingOutputWindow.h +++ b/vtkTestingOutputWindow.h @@ -22,6 +22,9 @@ #include "vtkOutputWindow.h" #include "vtkLoggingMacros.h" // for vtkInfoWithoutObjectMacro +// STD includes +#include + /// \brief VTK message output window class for automated testing. /// /// This is a VTK output window class that is optimized to be used @@ -51,7 +54,7 @@ class VTK_ADDON_EXPORT vtkTestingOutputWindow : public vtkOutputWindow /* Explicitly deleted functions belong in the public interface */ vtkTestingOutputWindow(const vtkTestingOutputWindow&) = delete; void operator=(const vtkTestingOutputWindow&) = delete; - + // Gets a pointer to the singleton testing output window instance. // If the current VTK output window is not vtkTestingOutputWindow type then // it changes the output window to that. @@ -67,11 +70,11 @@ class VTK_ADDON_EXPORT vtkTestingOutputWindow : public vtkOutputWindow // Sets number of warning and error messages to zero virtual void ResetNumberOfLoggedMessages(); - + // Number of any logged messages vtkGetMacro(NumberOfLoggedMessages, int); vtkSetMacro(NumberOfLoggedMessages, int); - + // Number of logged warning or generic warning messages vtkGetMacro(NumberOfLoggedWarningMessages, int); vtkSetMacro(NumberOfLoggedWarningMessages, int); @@ -79,14 +82,14 @@ class VTK_ADDON_EXPORT vtkTestingOutputWindow : public vtkOutputWindow // Number of logged error messages vtkGetMacro(NumberOfLoggedErrorMessages, int); vtkSetMacro(NumberOfLoggedErrorMessages, int); - + // Returns the sum of warning and error messages logged int GetNumberOfLoggedWarningErrorMessages(); - + protected: - vtkTestingOutputWindow(); - ~vtkTestingOutputWindow() override; - + vtkTestingOutputWindow(); + ~vtkTestingOutputWindow() override; + int NumberOfLoggedWarningMessages{0}; int NumberOfLoggedErrorMessages{0}; int NumberOfLoggedMessages{0};