Re: [PATCH] Constify `struct expression' in operator_length

Sergio Durigan Junior
2010-06-04T21:40:36Z

On Friday 04 June 2010 18:32:07, Tom Tromey wrote:
> >>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:
>
> Sergio> Due to Joel's suggestion on
> Sergio> <http://sourceware.org/ml/gdb-patches/2010-05/msg00689.html>, I
> Sergio> decided to post this patch in order to constify the `struct
> Sergio> expression' argument of the operator_length class of functions.
>
> Sergio> Ok to apply?
>
> Yes. Thanks for doing this, I think more const-correctness (when
> appropriate, of course) helps make the code more understandable.

Thanks, checked in.

--
Sergio Durigan Junior
Red Hat