remove Delete from Version

- Since the Activation object inherits Delete and implements a Delete
method, we don't need to do so for the Version object.

Change-Id: I1da26c3475872c1324a25b92ad8891ff8d3cabbc
Signed-off-by: Eddie James <eajames@us.ibm.com>
diff --git a/version.hpp b/version.hpp
index d2c0624..8cb7e37 100644
--- a/version.hpp
+++ b/version.hpp
@@ -2,7 +2,6 @@
 
 #include <sdbusplus/bus.hpp>
 #include "xyz/openbmc_project/Software/Version/server.hpp"
-#include "xyz/openbmc_project/Object/Delete/server.hpp"
 #include "xyz/openbmc_project/Common/FilePath/server.hpp"
 
 namespace openpower
@@ -16,7 +15,6 @@
 
 using VersionInherit = sdbusplus::server::object::object<
         sdbusplus::xyz::openbmc_project::Software::server::Version,
-        sdbusplus::xyz::openbmc_project::Object::server::Delete,
         sdbusplus::xyz::openbmc_project::Common::server::FilePath>;
 
 /** @class Version
@@ -34,16 +32,13 @@
          * @param[in] versionString  - The version string
          * @param[in] versionPurpose - The version purpose
          * @param[in] filePath       - The image filesystem path
-         * @param[in] parent         - The version's parent
          */
         Version(sdbusplus::bus::bus& bus,
                 const std::string& objPath,
                 const std::string& versionString,
                 VersionPurpose versionPurpose,
-                const std::string& filePath,
-                ItemUpdater& parent) :
-                        VersionInherit(bus, (objPath).c_str(), true),
-                        parent(parent)
+                const std::string& filePath) :
+                        VersionInherit(bus, (objPath).c_str(), true)
         {
             // Set properties.
             purpose(versionPurpose);
@@ -78,15 +73,6 @@
          * @return The id.
          */
         static std::string getId(const std::string& version);
-
-        /** @brief Deletes the D-Bus object and removes image.
-         *
-         */
-        void delete_() override;
-
-    private:
-        ItemUpdater& parent;
-
 };
 
 } // namespace updater