index fbbb049938957ad41e98a9548b37090393cdb3eb..ca787c269f982e34e74cce457dcab88d35b59749 100644 (file)
--- a/src/xml/node-observer.h
+++ b/src/xml/node-observer.h
* no dangling references.
*/
class NodeObserver {
-public:
+protected:
+ /* the constructor is protected to prevent instantiation */
NodeObserver() {}
+public:
virtual ~NodeObserver() {}
/**