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

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:
......
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