summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-10-15 13:37:52 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-10-15 13:37:52 +0100
commit781c8378f86e148c08cc60dcd38ef1a8c7cda877 (patch)
tree977e55e666a3d5e990d0ea228a361c38c772ed47 /ui
parentSequence straights chained together makes no sense (diff)
downloadilt-781c8378f86e148c08cc60dcd38ef1a8c7cda877.tar.bz2
ilt-781c8378f86e148c08cc60dcd38ef1a8c7cda877.tar.xz
ilt-781c8378f86e148c08cc60dcd38ef1a8c7cda877.zip
Remove unnecessary destructor
Diffstat (limited to 'ui')
-rw-r--r--ui/editNetwork.cpp2
-rw-r--r--ui/editNetwork.h1
2 files changed, 0 insertions, 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;