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.58 by root, Thu Jun 28 15:19:15 2012 UTC vs.
Revision 1.59 by sf-exg, Thu Oct 23 22:39:40 2014 UTC

88 const T &operator [] (int i) const { return * (const T *) (& ((* (const simplevec<void *> *)this)[i])); } 88 const T &operator [] (int i) const { return * (const T *) (& ((* (const simplevec<void *> *)this)[i])); }
89}; 89};
90#endif 90#endif
91 91
92inline void * 92inline void *
93operator new (size_t size) 93operator new (size_t size) throw (std::bad_alloc)
94{ 94{
95 // TODO: use rxvt_malloc 95 // TODO: use rxvt_malloc
96 return malloc (size); 96 return malloc (size);
97} 97}
98 98
99inline void 99inline void
100operator delete (void *p) 100operator delete (void *p) throw ()
101{ 101{
102 free (p); 102 free (p);
103} 103}
104 104
105template<typename T> 105template<typename T>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines