---
milena/ChangeLog | 4 ++++
milena/mln/core/complex_psite.hh | 5 ++++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index b8a8a04..8138447 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,9 @@
2008-09-10 Roland Levillain <roland(a)lrde.epita.fr>
+ * mln/core/complex_psite.hh (operator<<): Fix indentation.
+
+2008-09-10 Roland Levillain <roland(a)lrde.epita.fr>
+
* mln/core/p_complex.hh: Add forward declarations for
p_complex_fwd_piter_ and p_complex_bkd_piter_.
diff --git a/milena/mln/core/complex_psite.hh b/milena/mln/core/complex_psite.hh
index 9184627..d7ace6b 100644
--- a/milena/mln/core/complex_psite.hh
+++ b/milena/mln/core/complex_psite.hh
@@ -264,13 +264,16 @@ namespace mln
return lhs.face() < rhs.face();
}
+ /*------------------.
+ | Pretty-printing. |
+ `------------------*/
template <unsigned D, typename P>
inline
std::ostream&
operator<<(std::ostream& ostr, const complex_psite<D, P>& p)
{
- return ostr << "(dim = " << p.n() << ", id =
" << p.face_id() << ')';
+ return ostr << "(dim = " << p.n() << ", id = "
<< p.face_id() << ')';
}
# endif // ! MLN_INCLUDE_ONLY
--
1.5.6.5
Show replies by date