95def499e10f — Chris Cannam 4 years ago
Fix some compiler warnings
2 files changed, 4 insertions(+), 0 deletions(-)

M dataquay/objectmapper/ObjectLoader.h
M dataquay/objectmapper/ObjectStorer.h
M dataquay/objectmapper/ObjectLoader.h +2 -0
@@ 249,6 249,8 @@ public:
     QObjectList loadAll(NodeObjectMap &map);
     
     struct LoadCallback {
+        virtual ~LoadCallback() { }
+        
         /**
          * An object has been loaded by the given ObjectLoader from
          * the given RDF node.  The node and object will also be found

          
M dataquay/objectmapper/ObjectStorer.h +2 -0
@@ 326,6 326,8 @@ public:
     void removeObject(Node node);
 
     struct StoreCallback {
+        virtual ~StoreCallback() { }
+        
         /**
          * An object has been stored by the given ObjectStorer,
          * resulting in the given RDF node.  The object and node will