ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtutil.h
(Generate patch)

Comparing rxvt-unicode/src/rxvtutil.h (file contents):
Revision 1.53 by sf-exg, Thu May 24 15:03:47 2012 UTC vs.
Revision 1.54 by sf-exg, Fri May 25 07:38:05 2012 UTC

110 ~auto_ptr () 110 ~auto_ptr ()
111 { 111 {
112 free (p); 112 free (p);
113 } 113 }
114 114
115 // void because it makes sense in our context 115 void reset (T *a)
116 void operator = (T *a)
117 { 116 {
118 free (p); 117 free (p);
119 p = a; 118 p = a;
120 } 119 }
121 120
121 // void because it makes sense in our context
122 void operator = (auto_ptr &a) 122 void operator = (auto_ptr &a)
123 { 123 {
124 *this = a.p; 124 *this = a.p;
125 a.p = 0; 125 a.p = 0;
126 } 126 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines