ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/cfperl.h
(Generate patch)

Comparing deliantra/server/include/cfperl.h (file contents):
Revision 1.23 by root, Mon Sep 4 13:55:54 2006 UTC vs.
Revision 1.25 by root, Sun Sep 10 14:54:02 2006 UTC

99 attachable_base () 99 attachable_base ()
100 { 100 {
101 attachable_clear (); 101 attachable_clear ();
102 } 102 }
103 103
104 ~attachable_base ()
105 {
106 clear ();
107 }
108
104 attachable_base (const attachable_base &src) 109 attachable_base (const attachable_base &src)
105 : self (0), cb (0), attach (src.attach) 110 : self (0), cb (0), attach (src.attach)
106 { 111 {
112 }
113
114 attachable_base &operator = (const attachable_base &src)
115 {
116 clear ();
117 attach = src.attach;
118 return *this;
107 } 119 }
108}; 120};
109 121
110// objects attachable from perl (or any other extension) should include or 122// objects attachable from perl (or any other extension) should include or
111// derive using the curiously recurring template pattern, to avoid 123// derive using the curiously recurring template pattern, to avoid

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines