From fb13483cec4977e5eab4251c5a12ff45ed51ddae Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 10 Jan 2016 00:07:07 -0500 Subject: [PATCH] Revert "Command: Removed obsolete method" This reverts commit 796ec14c31d4065f3cb476c5093326d232163885. --- src/commands/Command.cpp | 5 +++++ src/commands/Command.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/commands/Command.cpp b/src/commands/Command.cpp index 78890e62e..29025d994 100644 --- a/src/commands/Command.cpp +++ b/src/commands/Command.cpp @@ -231,6 +231,11 @@ Command::Command () { } +//////////////////////////////////////////////////////////////////////////////// +Command::~Command () +{ +} + //////////////////////////////////////////////////////////////////////////////// std::string Command::keyword () const { diff --git a/src/commands/Command.h b/src/commands/Command.h index 6c326bfb5..7ab3295c4 100644 --- a/src/commands/Command.h +++ b/src/commands/Command.h @@ -53,6 +53,7 @@ public: }; Command (); + virtual ~Command (); static void factory (std::map &);