diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-12-25 09:40:14 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-12-25 09:40:14 -0500 |
| commit | f859e3785e392135d144b2ddea6c67030aa9ebba (patch) | |
| tree | 14c7667143d5b20b63baeffbce176c3b572af021 | |
| parent | 483f56aea5aa6efefa55f68b4e7e52c9f814baa0 (diff) | |
Removed unnecessary dtor in Item
| -rw-r--r-- | sigmod/Item.cpp | 4 | ||||
| -rw-r--r-- | sigmod/Item.h | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/sigmod/Item.cpp b/sigmod/Item.cpp index 07ce051c..e6f521dd 100644 --- a/sigmod/Item.cpp +++ b/sigmod/Item.cpp @@ -63,10 +63,6 @@ Sigmod::Item::Item(const QDomElement& xml, const Sigmod* parent, const int id) : load(xml); } -Sigmod::Item::~Item() -{ -} - void Sigmod::Item::validate() { TEST_BEGIN(); diff --git a/sigmod/Item.h b/sigmod/Item.h index e1e65542..999396a7 100644 --- a/sigmod/Item.h +++ b/sigmod/Item.h @@ -63,8 +63,14 @@ class SIGMOD_EXPORT Item : public Object * \param id The id number for the item. */ Item(const Item& item, const Sigmod* parent, const int id); + /** + * XML data constructor. + * + * \param xml The XML structure to extract the data from. + * \param parent The parent of the item. + * \param id The id number for the item. + */ Item(const QDomElement& xml, const Sigmod* parent, const int id = -1); - ~Item(); /** * Check to make sure the item's values are valid. |
