summaryrefslogtreecommitdiffstats
path: root/src/xml/node-observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/node-observer.h')
-rw-r--r--src/xml/node-observer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xml/node-observer.h b/src/xml/node-observer.h
index fbbb04993..ca787c269 100644
--- a/src/xml/node-observer.h
+++ b/src/xml/node-observer.h
@@ -50,8 +50,10 @@ namespace XML {
* no dangling references.
*/
class NodeObserver {
-public:
+protected:
+ /* the constructor is protected to prevent instantiation */
NodeObserver() {}
+public:
virtual ~NodeObserver() {}
/**