From 781c8378f86e148c08cc60dcd38ef1a8c7cda877 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 15 Oct 2022 13:37:52 +0100 Subject: Remove unnecessary destructor --- ui/editNetwork.cpp | 2 -- ui/editNetwork.h | 1 - 2 files changed, 3 deletions(-) diff --git a/ui/editNetwork.cpp b/ui/editNetwork.cpp index 9f4a186..7e007df 100644 --- a/ui/editNetwork.cpp +++ b/ui/editNetwork.cpp @@ -19,8 +19,6 @@ EditNetwork::EditNetwork(Network * n) : { } -EditNetwork::~EditNetwork() = default; - bool EditNetwork::click(const SDL_MouseButtonEvent & e, const Ray & ray) { diff --git a/ui/editNetwork.h b/ui/editNetwork.h index df89cdc..1845eb7 100644 --- a/ui/editNetwork.h +++ b/ui/editNetwork.h @@ -14,7 +14,6 @@ class Ray; class EditNetwork : public GameMainSelector::Component, public WorldOverlay { public: explicit EditNetwork(Network *); - virtual ~EditNetwork(); bool click(const SDL_MouseButtonEvent & e, const Ray &) override; bool move(const SDL_MouseMotionEvent & e, const Ray &) override; -- cgit v1.2.3