Mercurial > octave
diff src/oct-lvalue.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 | 72c96de7a403 |
line wrap: on
line diff
--- a/src/oct-lvalue.h Thu Jan 20 17:21:27 2011 -0500 +++ b/src/oct-lvalue.h Thu Jan 20 17:24:59 2011 -0500 @@ -37,12 +37,12 @@ public: octave_lvalue (octave_value *v = 0) - : val (v), type (), idx (), nel (1) + : val (v), type (), idx (), nel (1) { } octave_lvalue (const octave_lvalue& vr) - : val (vr.val), type (vr.type), idx (vr.idx), nel (vr.nel) - { + : val (vr.val), type (vr.type), idx (vr.idx), nel (vr.nel) + { } octave_lvalue& operator = (const octave_lvalue& vr) @@ -68,10 +68,10 @@ bool is_map (void) const { return val && val->is_map (); } - void define (const octave_value& v) - { + void define (const octave_value& v) + { if (val) - *val = v; + *val = v; } void assign (octave_value::assign_op, const octave_value&);