
--- scribo/ChangeLog | 5 +++++ scribo/scribo/preprocessing/rotate_90.hh | 3 ++- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/scribo/ChangeLog b/scribo/ChangeLog index c35644d..1142f99 100644 --- a/scribo/ChangeLog +++ b/scribo/ChangeLog @@ -1,5 +1,10 @@ 2010-08-12 Guillaume Lazzara <z@lrde.epita.fr> + * scribo/preprocessing/rotate_90.hh: Add a typedef to help + g++-3.3. + +2010-08-12 Guillaume Lazzara <z@lrde.epita.fr> + Fix invalid pointer offset types. * scribo/preprocessing/rotate_90.hh diff --git a/scribo/scribo/preprocessing/rotate_90.hh b/scribo/scribo/preprocessing/rotate_90.hh index 6373a4a..96c0469 100644 --- a/scribo/scribo/preprocessing/rotate_90.hh +++ b/scribo/scribo/preprocessing/rotate_90.hh @@ -88,9 +88,10 @@ namespace scribo // Initialize output domain and make sure the border size is the // same as input's. + typedef mln_domain(I) domain_t; mln_site(I) pmax(input.domain().pmax().col(), input.domain().pmax().row()); - mln_concrete(I) output(mln_domain(I)(input.domain().pmin(), pmax), + mln_concrete(I) output(domain_t(input.domain().pmin(), pmax), input.border()); mln_assertion(output.is_valid()); -- 1.5.6.5