destructor warnings' in the core of the compositor.
* work are packaged as a WorkPackage instance.
*/
class Device {
+
public:
+ /**
+ * @brief Declaration of the virtual destructor
+ * @note resolve warning gcc 4.7
+ */
+ virtual ~Device() {}
+
/**
* @brief initialize the device
*/
inline vector<OutputSocket *>& getOutputSockets() { return this->m_outputsockets; }
-public:
+protected:
/**
* @brief destructor
* clean up memory related to this NodeBase.
*/
virtual ~NodeBase();
+public:
/**
* @brief get the reference to the SDNA bNode struct
*/
DataType m_datatype;
bNodeSocket *m_editorSocket;
+
+protected:
+ /**
+ * @brief Declaration of the virtual destructor
+ * @note resolve warning gcc 4.7
+ */
+ virtual ~Socket() {}
+
public:
Socket(DataType datatype);