Skip to content
Snippets Groups Projects
Commit cc2c89a9 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

clang-tidy: fix `bugprone-parent-virtual-call` lints

parent 1bfc796f
No related branches found
No related tags found
No related merge requests found
......@@ -279,7 +279,7 @@ public:
void Render(vtkRenderer*, vtkActor*) override;
void ReleaseGraphicsResources(vtkWindow*) override;
double* GetBounds() override;
void GetBounds(double bounds[6]) override { vtkAbstractMapper3D::GetBounds(bounds); }
void GetBounds(double bounds[6]) override { Superclass::GetBounds(bounds); }
int FillInputPortInformation(int port, vtkInformation* info) override;
bool GetSupportsSelection() override { return true; }
///@}
......
......@@ -383,6 +383,7 @@ protected:
private:
// hide the superclass' ShallowCopy() from the user and the compiler.
// NOLINTNEXTLINE(bugprone-parent-virtual-call)
void ShallowCopy(vtkProp* prop) override { this->vtkProp::ShallowCopy(prop); }
vtkCubeAxesActor2D(const vtkCubeAxesActor2D&) = delete;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment