aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2017-01-14 22:37:38 +0100
committerRenaud G <renaud@rolisteam.org>2017-01-14 22:37:38 +0100
commit9189e58f97f9f5d04e1a8063eb54c927278b9876 (patch)
treeb7f106f63b35fa40a7d0810bafa9304857ffc24b
parent1bd34a24eaa8717ae61f2f46339001f7b830808e (diff)
downloadOneRoll-9189e58f97f9f5d04e1a8063eb54c927278b9876.tar.gz
OneRoll-9189e58f97f9f5d04e1a8063eb54c927278b9876.zip
-Add virtual destructor.
-rw-r--r--result/result.cpp4
-rw-r--r--result/result.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/result/result.cpp b/result/result.cpp
index 814ddb3..71c0445 100644
--- a/result/result.cpp
+++ b/result/result.cpp
@@ -26,6 +26,10 @@ Result::Result()
: m_resultTypes(NONE),m_id(QString("\"%1\"").arg(QUuid::createUuid().toString())),m_previous(NULL)
{
}
+Result::~Result()
+{
+
+}
Result* Result::getPrevious()
{
diff --git a/result/result.h b/result/result.h
index 2037814..e905475 100644
--- a/result/result.h
+++ b/result/result.h
@@ -40,6 +40,11 @@ public:
*/
Result();
/**
+ * @brief ~Result
+ */
+ virtual ~Result();
+
+ /**
* @brief isScalar
* @return
*/