Commit 8aab49f1 authored by Sean McBride's avatar Sean McBride

Removed a bunch of extra semicolons at end of line

Done using a few regular expressions & find & replace.
Fixes many -Wextra-semi warnings.

Change-Id: I5ef603e88d4c0a390cfb2d22d8d92c21bf554024
parent ed69e315
......@@ -68,7 +68,7 @@ public:
// Release any graphics resources that are being consumed by this mapper.
// The parameter window could be used to determine which graphic
// resources to release.
virtual void ReleaseGraphicsResources(vtkWindow *) {};
virtual void ReleaseGraphicsResources(vtkWindow *) {}
// Description:
// Return bounding box (array of six doubles) of data expressed as
......
......@@ -34,7 +34,7 @@ public:
protected:
vtkPistonSort() {}
~vtkPistonSort() {};
~vtkPistonSort() {}
// Description:
// Method that does the actual calculation.
......
......@@ -35,7 +35,7 @@
class vtkCollectionElement //;prevents pick-up by man page generator
{
public:
vtkCollectionElement():Item(NULL),Next(NULL) {};
vtkCollectionElement():Item(NULL),Next(NULL) {}
vtkObject *Item;
vtkCollectionElement *Next;
};
......
......@@ -57,8 +57,8 @@ public:
//ETX
protected:
vtkDataArrayCollection() {};
~vtkDataArrayCollection() {};
vtkDataArrayCollection() {}
~vtkDataArrayCollection() {}
private:
......
......@@ -66,8 +66,8 @@ public:
//ETX
protected:
vtkDebugLeaks(){};
virtual ~vtkDebugLeaks(){};
vtkDebugLeaks(){}
virtual ~vtkDebugLeaks(){}
static int DisplayMessageBox(const char*);
......@@ -98,7 +98,7 @@ private:
// state and accessing them may cause undefined behavior.
class VTKCOMMONCORE_EXPORT vtkDebugLeaksObserver {
public:
virtual ~vtkDebugLeaksObserver() {};
virtual ~vtkDebugLeaksObserver() {}
virtual void ConstructingObject(vtkObjectBase*) = 0;
virtual void DestructingObject(vtkObjectBase*) = 0;
};
......
......@@ -69,8 +69,8 @@ public:
static const char* LastError();
protected:
vtkDynamicLoader() {};
~vtkDynamicLoader() {};
vtkDynamicLoader() {}
~vtkDynamicLoader() {}
private:
vtkDynamicLoader(const vtkDynamicLoader&); // Not implemented.
......
......@@ -56,7 +56,7 @@ protected:
vtkObject *Target;
vtkEventForwarderCommand();
~vtkEventForwarderCommand() {};
~vtkEventForwarderCommand() {}
};
#endif /* __vtkEventForwarderCommand_h */
......
......@@ -57,8 +57,8 @@ public:
//ETX
protected:
vtkIdListCollection() {};
~vtkIdListCollection() {};
vtkIdListCollection() {}
~vtkIdListCollection() {}
private:
......
......@@ -956,8 +956,8 @@ public:
static bool IsFinite(double x);
protected:
vtkMath() {};
~vtkMath() {};
vtkMath() {}
~vtkMath() {}
static vtkMathInternal Internal;
private:
......
......@@ -102,7 +102,7 @@ protected:
//ETX
vtkSimpleMutexLock SimpleMutexLock;
vtkMutexLock() {};
vtkMutexLock() {}
private:
vtkMutexLock(const vtkMutexLock&); // Not implemented.
void operator=(const vtkMutexLock&); // Not implemented.
......
......@@ -57,8 +57,8 @@ public:
//ETX
protected:
vtkObjectFactoryCollection() {};
~vtkObjectFactoryCollection() {};
vtkObjectFactoryCollection() {}
~vtkObjectFactoryCollection() {}
private:
......
......@@ -52,8 +52,8 @@ public:
//ETX
protected:
vtkOverrideInformationCollection() {};
~vtkOverrideInformationCollection() {};
vtkOverrideInformationCollection() {}
~vtkOverrideInformationCollection() {}
private:
......
......@@ -68,7 +68,7 @@ public:
// Description:
// Perform any processing required (if any) before processing
// scalars.
virtual void Build() {};
virtual void Build() {}
// Description:
// Sets/Gets the range of scalars which will be mapped.
......
......@@ -149,8 +149,8 @@ public:
vtkTypeUInt64, int format = ISO8601_DATETIME_MILLIS);
protected:
vtkTimePointUtility() {};
~vtkTimePointUtility() {};
vtkTimePointUtility() {}
~vtkTimePointUtility() {}
private:
vtkTimePointUtility(const vtkTimePointUtility&); // Not implemented.
......
......@@ -49,8 +49,8 @@ public:
static const char *GetVTKSourceVersion() { return VTK_SOURCE_VERSION; }
protected:
vtkVersion() {}; //insure constructor/destructor protected
~vtkVersion() {};
vtkVersion() {} //insure constructor/destructor protected
~vtkVersion() {}
private:
vtkVersion(const vtkVersion&); // Not implemented.
void operator=(const vtkVersion&); // Not implemented.
......
......@@ -32,7 +32,7 @@ class VTKCOMMONCORE_EXPORT vtkWeakPointerBase
public:
// Description:
// Initialize smart pointer to NULL.
vtkWeakPointerBase() : Object(0) {};
vtkWeakPointerBase() : Object(0) {}
// Description:
// Initialize smart pointer to given object.
......
......@@ -133,7 +133,7 @@ public:
// Description:
// Make the window current. May be overridden in subclasses to do
// for example a glXMakeCurrent or a wglMakeCurrent.
virtual void MakeCurrent() {};
virtual void MakeCurrent() {}
// Description:
// These methods are used by vtkWindowToImageFilter to tell a VTK window
......
......@@ -61,8 +61,8 @@ public:
virtual void DisplayTag(const char*);
protected:
vtkXMLFileOutputWindow() {};
virtual ~vtkXMLFileOutputWindow() {};
vtkXMLFileOutputWindow() {}
virtual ~vtkXMLFileOutputWindow() {}
void Initialize();
virtual void DisplayXML(const char*, const char*);
......
......@@ -35,8 +35,8 @@ public:
void PrintSelf(ostream& os, vtkIndent indent);
protected:
vtkCellData() {}; //make sure constructor and desctructor are protected
~vtkCellData() {};
vtkCellData() {} //make sure constructor and desctructor are protected
~vtkCellData() {}
private:
vtkCellData(const vtkCellData&); // Not implemented.
......
......@@ -126,7 +126,7 @@ public:
void DeepCopy(vtkCellLinks *src);
protected:
vtkCellLinks():Array(NULL),Size(0),MaxId(-1),Extend(1000) {};
vtkCellLinks():Array(NULL),Size(0),MaxId(-1),Extend(1000) {}
~vtkCellLinks();
// Description:
......
......@@ -58,7 +58,7 @@ public:
protected:
vtkCone();
~vtkCone() {};
~vtkCone() {}
double Angle;
......
......@@ -62,7 +62,7 @@ public:
vtkGetVectorMacro(Center,double,3);
protected:
vtkCylinder();
~vtkCylinder() {};
~vtkCylinder() {}
double Radius;
double Center[3];
......
......@@ -63,8 +63,8 @@ public:
//ETX
protected:
vtkDataObjectCollection() {};
~vtkDataObjectCollection() {};
vtkDataObjectCollection() {}
~vtkDataObjectCollection() {}
private:
......
......@@ -56,8 +56,8 @@ public:
static vtkDataObject* NewDataObject(int typeId);
protected:
vtkDataObjectTypes() {};
~vtkDataObjectTypes() {};
vtkDataObjectTypes() {}
~vtkDataObjectTypes() {}
// Description:
// Method used to validate data object types, for testing purposes
......
......@@ -61,8 +61,8 @@ public:
//ETX
protected:
vtkDataSetCollection() {};
~vtkDataSetCollection() {};
vtkDataSetCollection() {}
~vtkDataSetCollection() {}
private:
// hide the standard AddItem from the user and the compiler.
......
......@@ -68,8 +68,8 @@ public:
virtual void InterpolateDerivs(double pcoords[3], double *derivs);
protected:
vtkEmptyCell() {};
~vtkEmptyCell() {};
vtkEmptyCell() {}
~vtkEmptyCell() {}
private:
vtkEmptyCell(const vtkEmptyCell&); // Not implemented.
......
......@@ -54,8 +54,8 @@ public:
//ETX
protected:
vtkImplicitFunctionCollection() {};
~vtkImplicitFunctionCollection() {};
vtkImplicitFunctionCollection() {}
~vtkImplicitFunctionCollection() {}
private:
......
......@@ -147,7 +147,7 @@ public:
protected:
vtkLine();
~vtkLine() {};
~vtkLine() {}
private:
vtkLine(const vtkLine&); // Not implemented.
......
......@@ -52,8 +52,8 @@ public:
int InsertUniquePoint(const double x[3], vtkIdType &ptId);
protected:
vtkMergePoints() {};
~vtkMergePoints() {};
vtkMergePoints() {}
~vtkMergePoints() {}
private:
vtkMergePoints(const vtkMergePoints&); // Not implemented.
......
......@@ -109,7 +109,7 @@ public:
protected:
vtkPlane();
~vtkPlane() {};
~vtkPlane() {}
double Normal[3];
double Origin[3];
......
......@@ -54,8 +54,8 @@ public:
//ETX
protected:
vtkPlaneCollection() {};
~vtkPlaneCollection() {};
vtkPlaneCollection() {}
~vtkPlaneCollection() {}
private:
......
......@@ -35,8 +35,8 @@ public:
void NullPoint(vtkIdType ptId);
protected:
vtkPointData() {};
~vtkPointData() {};
vtkPointData() {}
~vtkPointData() {}
private:
vtkPointData(const vtkPointData&); // Not implemented.
......
......@@ -56,8 +56,8 @@ public:
//ETX
protected:
vtkPolyDataCollection() {};
~vtkPolyDataCollection() {};
vtkPolyDataCollection() {}
~vtkPolyDataCollection() {}
private:
// hide the standard AddItem from the user and the compiler.
......
......@@ -53,7 +53,7 @@ public:
protected:
vtkQuadric();
~vtkQuadric() {};
~vtkQuadric() {}
double Coefficients[10];
......
......@@ -81,7 +81,7 @@ public:
protected:
vtkSphere();
~vtkSphere() {};
~vtkSphere() {}
double Radius;
double Center[3];
......
......@@ -245,8 +245,8 @@ public:
int dataDescription=VTK_EMPTY );
protected:
vtkStructuredData() {};
~vtkStructuredData() {};
vtkStructuredData() {}
~vtkStructuredData() {}
// Description:
// Computes the linear index for the given i-j-k structured of a grid with
......
......@@ -43,7 +43,7 @@ public:
protected:
vtkStructuredPoints();
~vtkStructuredPoints() {};
~vtkStructuredPoints() {}
private:
vtkStructuredPoints(const vtkStructuredPoints&); // Not implemented.
void operator=(const vtkStructuredPoints&); // Not implemented.
......
......@@ -56,8 +56,8 @@ public:
//ETX
protected:
vtkStructuredPointsCollection() {};
~vtkStructuredPointsCollection() {};
vtkStructuredPointsCollection() {}
~vtkStructuredPointsCollection() {}
......
......@@ -102,7 +102,7 @@ public:
protected:
vtkSuperquadric();
~vtkSuperquadric() {};
~vtkSuperquadric() {}
int Toroidal;
double Thickness;
......
......@@ -70,7 +70,7 @@ public:
protected:
vtkTensor();
~vtkTensor() {};
~vtkTensor() {}
double Storage[9];
private:
......
......@@ -115,7 +115,7 @@ public:
protected:
vtkVertex();
~vtkVertex() {};
~vtkVertex() {}
private:
vtkVertex(const vtkVertex&); // Not implemented.
......
......@@ -50,8 +50,8 @@ public:
void PrintSelf(ostream& os, vtkIndent indent);
protected:
vtkCastToConcrete() {};
~vtkCastToConcrete() {};
vtkCastToConcrete() {}
~vtkCastToConcrete() {}
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); //insures compatibility; satisfies abstract api in vtkFilter
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
......
......@@ -54,7 +54,7 @@ public:
protected:
vtkCompositeDataSetAlgorithm();
~vtkCompositeDataSetAlgorithm() {};
~vtkCompositeDataSetAlgorithm() {}
// Description:
// This is called by the superclass.
......
......@@ -110,7 +110,7 @@ public:
protected:
vtkDataSetAlgorithm();
~vtkDataSetAlgorithm() {};
~vtkDataSetAlgorithm() {}
// Description:
// This is called within ProcessRequest when a request asks for
......
......@@ -54,7 +54,7 @@ public:
protected:
vtkMultiBlockDataSetAlgorithm();
~vtkMultiBlockDataSetAlgorithm() {};
~vtkMultiBlockDataSetAlgorithm() {}
// Description:
// This is called by the superclass.
......
......@@ -117,7 +117,7 @@ public:
protected:
vtkPassInputTypeAlgorithm();
~vtkPassInputTypeAlgorithm() {};
~vtkPassInputTypeAlgorithm() {}
// Description:
// This is called within ProcessRequest when a request asks for
......
......@@ -92,7 +92,7 @@ public:
protected:
vtkPointSetAlgorithm();
~vtkPointSetAlgorithm() {};
~vtkPointSetAlgorithm() {}
// Description:
// This is called by the superclass.
......
......@@ -363,7 +363,7 @@ public:
protected:
//BTX
vtkFastNumericConversion();
~vtkFastNumericConversion() {};
~vtkFastNumericConversion() {}
void InternalRebuild(void);
private:
......
......@@ -58,7 +58,7 @@ public:
protected:
vtkFunctionSet();
~vtkFunctionSet() {};
~vtkFunctionSet() {}
int NumFuncs;
int NumIndepVars;
......
......@@ -183,7 +183,7 @@ public:
protected:
vtkMatrix4x4() { vtkMatrix4x4::Identity(*this->Element); };
~vtkMatrix4x4() {};
~vtkMatrix4x4() {}
float FloatPoint[4];
double DoublePoint[4];
......
......@@ -262,8 +262,8 @@ public:
static double GetDivisionTolerance();
protected:
vtkPolynomialSolversUnivariate() {};
~vtkPolynomialSolversUnivariate() {};
vtkPolynomialSolversUnivariate() {}
~vtkPolynomialSolversUnivariate() {}
static double DivisionTolerance;
......
......@@ -247,11 +247,11 @@ protected:
// Description:
// Perform any subclass-specific Update.
virtual void InternalUpdate() {};
virtual void InternalUpdate() {}
// Description:
// Perform any subclass-specific DeepCopy.
virtual void InternalDeepCopy(vtkAbstractTransform *) {};
virtual void InternalDeepCopy(vtkAbstractTransform *) {}
float InternalFloatPoint[3];
double InternalDoublePoint[3];
......@@ -291,7 +291,7 @@ private:
class vtkTransformPair
{
public:
vtkTransformPair() {};
vtkTransformPair() {}
vtkAbstractTransform *ForwardTransform;
vtkAbstractTransform *InverseTransform;
......
......@@ -62,7 +62,7 @@ public:
// Invert the transformation. This doesn't do anything to the
// identity transformation.
void Inverse() {};
void Inverse() {}
// Description:
// This will calculate the transformation without calling Update.
......
......@@ -182,8 +182,8 @@ public:
double derivative[3][3]);
protected:
vtkLinearTransform() {};
~vtkLinearTransform() {};
vtkLinearTransform() {}
~vtkLinearTransform() {}
private:
vtkLinearTransform(const vtkLinearTransform&); // Not implemented.
void operator=(const vtkLinearTransform&); // Not implemented.
......
......@@ -53,8 +53,8 @@ public:
//ETX
protected:
vtkTransformCollection() {};
~vtkTransformCollection() {};
vtkTransformCollection() {}
~vtkTransformCollection() {}