---
milena/ChangeLog | 4 ++++
milena/mln/core/concept/iterator.hh | 5 ++++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 474ee9d..0e9fac5 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,9 @@
2008-09-12 Roland Levillain <roland(a)lrde.epita.fr>
+ * mln/core/concept/iterator.hh (for_all_2): Wrap a long line.
+
+2008-09-12 Roland Levillain <roland(a)lrde.epita.fr>
+
* mln/core/face.hh: Add missing `inline' keywords.
2008-09-12 Roland Levillain <roland(a)lrde.epita.fr>
diff --git a/milena/mln/core/concept/iterator.hh b/milena/mln/core/concept/iterator.hh
index d072329..26ae2ef 100644
--- a/milena/mln/core/concept/iterator.hh
+++ b/milena/mln/core/concept/iterator.hh
@@ -43,7 +43,10 @@
/*! \brief Loop to browse all the elements targetted by the couples of
* iterators \p x1 and \p x2.
*/
-# define for_all_2(x1, x2) for(x1.start(),x2.start(); x1.is_valid();
x1.next(),x2.next())
+# define for_all_2(x1, x2) \
+ for(x1.start(), x2.start(); \
+ x1.is_valid(); \
+ x1.next(), x2.next())
/*! \brief Loop to browse all the elements targetted by the triplet of
--
1.6.0.1
Show replies by date