Mercurial > hg > octave-lyh
diff liboctave/oct-locbuf.h @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | fd0a3ac60b0e |
children | 5f8bc2f145f5 |
line wrap: on
line diff
--- a/liboctave/oct-locbuf.h +++ b/liboctave/oct-locbuf.h @@ -34,10 +34,10 @@ { public: octave_local_buffer (size_t size) - : data (0) - { - if (size) - data = new T[size]; + : data (0) + { + if (size) + data = new T[size]; } ~octave_local_buffer (void) { delete [] data; } operator T *() const { return data; } @@ -174,7 +174,7 @@ octave_local_buffer<T> _buffer_ ## buf (size); \ T *buf = _buffer_ ## buf -#endif +#endif // Yeah overloading macros would be nice. // Note: we use weird variables in the for loop to avoid warnings about