zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #02503
[Merge] lp:~zorba-coders/zorba/virtual into lp:zorba
Matthias Brantner has proposed merging lp:~zorba-coders/zorba/virtual into lp:zorba.
Requested reviews:
Matthias Brantner (matthias-brantner)
Markos Zaharioudakis (markos-za)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/virtual/+merge/84509
made destructors of Item subclasses virtual
--
https://code.launchpad.net/~zorba-coders/zorba/virtual/+merge/84509
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/store/naive/atomic_items.h'
--- src/store/naive/atomic_items.h 2011-11-02 17:19:09 +0000
+++ src/store/naive/atomic_items.h 2011-12-05 17:42:19 +0000
@@ -73,7 +73,7 @@
public:
AtomicItem() : store::Item(ATOMIC) { }
- ~AtomicItem() {}
+ virtual ~AtomicItem() {}
SYNC_CODE(RCLock* getRCLock() const { return &theRCLock; })
@@ -350,7 +350,7 @@
uint16_t thePrevFree;
public:
- ~QNameItem();
+ virtual ~QNameItem();
QNameItem* getNormalized() const;
@@ -815,7 +815,7 @@
void setStreamReleaser(StreamReleaser aReleaser);
- ~StreamableStringItem()
+ virtual ~StreamableStringItem()
{
if (theStreamReleaser)
{
@@ -2322,7 +2322,7 @@
}
public:
- ~ErrorItem();
+ virtual ~ErrorItem();
ZorbaException* getError() const { return theError; }
=== modified file 'src/store/naive/node_items.h'
--- src/store/naive/node_items.h 2011-11-02 17:19:09 +0000
+++ src/store/naive/node_items.h 2011-12-05 17:42:19 +0000
@@ -1210,7 +1210,7 @@
TextNode() {}
public:
- ~TextNode()
+ virtual ~TextNode()
{
if (isTyped())
{
Follow ups