Преглед на файлове

Added destructor for QScopedPointer member variable support.

Sascha Zelzer преди 14 години
родител
ревизия
9592afba7c
променени са 2 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 5 0
      Libs/PluginFramework/ctkServiceRegistration.cpp
  2. 2 0
      Libs/PluginFramework/ctkServiceRegistration.h

+ 5 - 0
Libs/PluginFramework/ctkServiceRegistration.cpp

@@ -47,6 +47,11 @@ ctkServiceRegistration::ctkServiceRegistration(ctkServiceRegistrationPrivate& dd
 
 }
 
+ctkServiceRegistration::~ctkServiceRegistration()
+{
+
+}
+
 ctkServiceReference ctkServiceRegistration::getReference() const
 {
   Q_D(const ctkServiceRegistration);

+ 2 - 0
Libs/PluginFramework/ctkServiceRegistration.h

@@ -52,6 +52,8 @@ class CTK_PLUGINFW_EXPORT ctkServiceRegistration {
 
 public:
 
+  ~ctkServiceRegistration();
+
   /**
    * Returns a <code>ctkServiceReference</code> object for a service being
    * registered.