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.24 by root, Sat Sep 9 21:48:28 2006 UTC vs.
Revision 1.25 by root, Sun Sep 10 14:54:02 2006 UTC

108 108
109 attachable_base (const attachable_base &src) 109 attachable_base (const attachable_base &src)
110 : self (0), cb (0), attach (src.attach) 110 : self (0), cb (0), attach (src.attach)
111 { 111 {
112 } 112 }
113
114 attachable_base &operator = (const attachable_base &src)
115 {
116 clear ();
117 attach = src.attach;
118 return *this;
119 }
113}; 120};
114 121
115// objects attachable from perl (or any other extension) should include or 122// objects attachable from perl (or any other extension) should include or
116// derive using the curiously recurring template pattern, to avoid 123// derive using the curiously recurring template pattern, to avoid
117// virtual method calls etc. 124// virtual method calls etc.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines