---
milena/mln/geom/rotate.hh | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/milena/mln/geom/rotate.hh b/milena/mln/geom/rotate.hh
index 8c0e3ca..f53359b 100644
--- a/milena/mln/geom/rotate.hh
+++ b/milena/mln/geom/rotate.hh
@@ -165,7 +165,10 @@ namespace mln
mln_concrete(I)
rotate(const Image<I>& input, double angle, const Ext& extension)
{
- return rotate(input, angle, extension, mln_box(I)());
+ /// Old versions of GCC do not parse correctly `mln_box(I)()'.
+ /// Hence, we need to typedef mln_box(I) first.
+ typedef mln_box(I) box_t;
+ return rotate(input, angle, extension, box_t());
}
--
1.5.6.5