diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/vtkPVFoamReader.h b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/vtkPVFoamReader.h index c634f667fbed06eef77307d64b11170c2f5a73ef..0de09a5547b4da6319fa38959f4a7955fd08d56f 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/vtkPVFoamReader.h +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/vtkPVFoamReader.h @@ -55,7 +55,7 @@ namespace Foam /*---------------------------------------------------------------------------*\ - Class vtkPVFoamReader Declaration + Class vtkPVFoamReader Declaration \*---------------------------------------------------------------------------*/ class vtkPVFoamReader @@ -64,7 +64,7 @@ class vtkPVFoamReader { public: vtkTypeMacro(vtkPVFoamReader, vtkMultiBlockDataSetAlgorithm); - void PrintSelf(ostream&, vtkIndent); + void PrintSelf(ostream&, vtkIndent) VTK_OVERRIDE; static vtkPVFoamReader* New(); @@ -199,7 +199,7 @@ protected: vtkInformation*, vtkInformationVector**, vtkInformationVector* - ); + ) VTK_OVERRIDE; //- Get the mesh/fields for a particular time virtual int RequestData @@ -207,10 +207,10 @@ protected: vtkInformation*, vtkInformationVector**, vtkInformationVector* - ); + ) VTK_OVERRIDE; //- Fill in additional port information - virtual int FillOutputPortInformation(int, vtkInformation*); + virtual int FillOutputPortInformation(int, vtkInformation*) VTK_OVERRIDE; //- The observer to modify this object when array selections are modified vtkCallbackCommand* SelectionObserver; diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/vtkPVblockMeshReader.h b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/vtkPVblockMeshReader.h index 66805716eec674fac90a804ea2e7887f93149732..f881d3c4ed7f8d49833408a7f45d82b59c5bb4e8 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/vtkPVblockMeshReader.h +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/vtkPVblockMeshReader.h @@ -62,7 +62,7 @@ class vtkPVblockMeshReader { public: vtkTypeMacro(vtkPVblockMeshReader, vtkMultiBlockDataSetAlgorithm); - void PrintSelf(ostream&, vtkIndent); + void PrintSelf(ostream&, vtkIndent) VTK_OVERRIDE; static vtkPVblockMeshReader* New(); @@ -127,7 +127,7 @@ protected: vtkInformation* unusedRequest, vtkInformationVector** unusedInputVector, vtkInformationVector* outputVector - ); + ) VTK_OVERRIDE; //- Get the mesh for a particular time virtual int RequestData @@ -135,10 +135,10 @@ protected: vtkInformation* unusedRequest, vtkInformationVector** unusedInputVector, vtkInformationVector* outputVector - ); + ) VTK_OVERRIDE; //- Fill in additional port information - virtual int FillOutputPortInformation(int, vtkInformation*); + virtual int FillOutputPortInformation(int, vtkInformation*) VTK_OVERRIDE; // The observer to modify this object when array selections are modified vtkCallbackCommand* SelectionObserver; diff --git a/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C b/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C index 084bcc1e99b20ed9e36f3d6e045a6d506f281112..1bd8614b6889766d77889416a8ad35db89c11740 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C +++ b/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C @@ -480,8 +480,7 @@ void Foam::functionObjects::fieldVisualisationBase::addGlyphs else { WarningInFunction - << "Glyphs can only be added to " << pTraits<scalar>::typeName - << " and " << pTraits<vector>::typeName << " fields. " + << "Glyphs can only be added to scalar and vector fields." << " Field " << scaleFieldName << " has " << nComponents << " components" << endl;