Author: sayer
Date: 2010-02-25 16:37:08 +0100 (Thu, 25 Feb 2010)
New Revision: 1639
Modified:
trunk/core/AmAudio.h
trunk/core/AmB2ABSession.h
trunk/core/AmStats.h
Log:
adding some virtual dtors
Modified: trunk/core/AmAudio.h
===================================================================
--- trunk/core/AmAudio.h 2010-02-25 15:35:18 UTC (rev 1638)
+++ trunk/core/AmAudio.h 2010-02-25 15:37:08 UTC (rev 1639)
@@ -66,6 +66,7 @@
};
AmAudioEvent(int id):AmEvent(id){}
+ virtual ~AmAudioEvent() { }
};
Modified: trunk/core/AmB2ABSession.h
===================================================================
--- trunk/core/AmB2ABSession.h 2010-02-25 15:35:18 UTC (rev 1638)
+++ trunk/core/AmB2ABSession.h 2010-02-25 15:37:08 UTC (rev 1639)
@@ -177,7 +177,7 @@
AmB2ABSession();
AmB2ABSession(const string& other_local_tag);
- ~AmB2ABSession();
+ virtual ~AmB2ABSession();
void onBye(const AmSipRequest& req);
Modified: trunk/core/AmStats.h
===================================================================
--- trunk/core/AmStats.h 2010-02-25 15:35:18 UTC (rev 1638)
+++ trunk/core/AmStats.h 2010-02-25 15:37:08 UTC (rev 1639)
@@ -48,6 +48,8 @@
n_val(0)
{}
+ virtual ~MeanValue() { }
+
void push(double val){
cum_val += val;
n_val++;
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev