add forgotten virtual keyword
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sun, 12 Aug 2007 22:44:12 +0200
changeset 1356 5b10d248d66a
parent 1355 6289ac826830
child 1357 b409adf30c97
add forgotten virtual keyword
src/core/fv-trace-source.h
src/core/sv-trace-source.h
src/core/uv-trace-source.h
--- a/src/core/fv-trace-source.h	Sun Aug 12 22:31:16 2007 +0200
+++ b/src/core/fv-trace-source.h	Sun Aug 12 22:44:12 2007 +0200
@@ -40,10 +40,10 @@
 
   ~FVTraceSourceBase () {}
 
-  void AddCallback (CallbackBase const & callback, TraceContext const & context) {
+  virtual void AddCallback (CallbackBase const & callback, TraceContext const & context) {
     m_callback.AddCallback (callback, context);
   }
-  void RemoveCallback (CallbackBase const & callback) {
+  virtual void RemoveCallback (CallbackBase const & callback) {
     m_callback.RemoveCallback (callback);
   }
 protected:
--- a/src/core/sv-trace-source.h	Sun Aug 12 22:31:16 2007 +0200
+++ b/src/core/sv-trace-source.h	Sun Aug 12 22:44:12 2007 +0200
@@ -40,10 +40,10 @@
 
   virtual ~SVTraceSourceBase () {}
 
-  void AddCallback (CallbackBase const & callback, TraceContext const & context) {
+  virtual void AddCallback (CallbackBase const & callback, TraceContext const & context) {
     m_callback.AddCallback (callback, context);
   }
-  void RemoveCallback (CallbackBase const & callback) {
+  virtual void RemoveCallback (CallbackBase const & callback) {
     m_callback.RemoveCallback (callback);
   }
 protected:
--- a/src/core/uv-trace-source.h	Sun Aug 12 22:31:16 2007 +0200
+++ b/src/core/uv-trace-source.h	Sun Aug 12 22:44:12 2007 +0200
@@ -43,10 +43,10 @@
   }
   ~UVTraceSourceBase () {}
 
-  void AddCallback (CallbackBase const & callback, TraceContext const & context) {
+  virtual void AddCallback (CallbackBase const & callback, TraceContext const & context) {
     m_callback.AddCallback (callback, context);
   }
-  void RemoveCallback (CallbackBase const & callback) {
+  virtual void RemoveCallback (CallbackBase const & callback) {
     m_callback.RemoveCallback (callback);
   }