Commit 225fe876 authored by Robert Maynard's avatar Robert Maynard
Browse files

vtkCommand derived classes now use VTK_OVERRIDE.

parent edf2fff2
Pipeline #23224 passed with stage
......@@ -51,7 +51,9 @@ public:
// the instance invoking the event; eid is the event id (see
// vtkCommand.h); and calldata is information sent when the callback
// was invoked (e.g., progress value in the vtkCommand::ProgressEvent).
virtual void Execute(vtkObject *caller, unsigned long eid, void *callData);
void Execute(vtkObject *caller,
unsigned long eid,
void *callData) VTK_OVERRIDE;
// Description:
// Methods to set and get client and callback information, and the callback
......
......@@ -345,7 +345,7 @@ public:
// the same effect as invoking Delete() (i.e., it reduces the reference
// count by 1).
void UnRegister();
virtual void UnRegister(vtkObjectBase *)
void UnRegister(vtkObjectBase *) VTK_OVERRIDE
{ this->UnRegister(); }
// Description:
......
......@@ -41,7 +41,9 @@ public:
// the instance invoking the event; eid is the event id (see
// vtkCommand.h); and calldata is information sent when the callback
// was invoked (e.g., progress value in the vtkCommand::ProgressEvent).
void Execute(vtkObject *caller, unsigned long eid, void *callData);
void Execute(vtkObject *caller,
unsigned long eid,
void *callData) VTK_OVERRIDE;
// Description:
// Methods to set and get client and callback information, and the callback
......
......@@ -45,7 +45,9 @@ public:
// Description:
// Satisfy the superclass API for callbacks.
void Execute(vtkObject *invoker, unsigned long eid, void *calldata);
void Execute(vtkObject *invoker,
unsigned long eid,
void *calldata) VTK_OVERRIDE;
// Description:
// Methods to set and get client and callback information.
......
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