ekiga r7808 - trunk/lib/engine/framework
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7808 - trunk/lib/engine/framework
- Date: Tue, 24 Mar 2009 21:07:48 +0000 (UTC)
Author: jpuydt
Date: Tue Mar 24 21:07:47 2009
New Revision: 7808
URL: http://svn.gnome.org/viewvc/ekiga?rev=7808&view=rev
Log:
Completed the GmRefCounted class
Modified:
trunk/lib/engine/framework/gmref.h
Modified: trunk/lib/engine/framework/gmref.h
==============================================================================
--- trunk/lib/engine/framework/gmref.h (original)
+++ trunk/lib/engine/framework/gmref.h Tue Mar 24 21:07:47 2009
@@ -92,7 +92,7 @@
template<typename T> bool operator<(const gmref_ptr<T>& a,
const gmref_ptr<T>& b);
-/* base class for a reference counted object : serves mostly
+/* base class for a reference counted object
*/
class GmRefCounted
{
@@ -100,6 +100,12 @@
GmRefCounted (): refcount(0)
{}
+ GmRefCounted (const GmRefCounted& /*other*/): refcount(0)
+ {}
+
+ GmRefCounted& operator= (const GmRefCounted& /*other*/)
+ { return *this; }
+
virtual ~GmRefCounted ()
{}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]