milena r1112: Println fixed

URL: https://svn.lrde.epita.fr/svn/oln/trunk/milena ChangeLog: 2007-09-14 Simon Nivault <simon.nivault@lrde.epita.fr> Println fixed * mln/debug/println.hh: Fixed. --- println.hh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Index: trunk/milena/mln/debug/println.hh =================================================================== --- trunk/milena/mln/debug/println.hh (revision 1111) +++ trunk/milena/mln/debug/println.hh (revision 1112) @@ -37,8 +37,6 @@ # include <mln/core/concept/window.hh> # include <mln/debug/format.hh> -# include <mln/core/box2d.hh> - namespace mln { @@ -67,6 +65,8 @@ std::cout << std::endl; } +# ifdef MLN_CORE_BOX2D_HH + // 2D version template <typename I> void println(const box2d& b, const I& input) @@ -90,6 +90,10 @@ std::cout << std::endl; } +# endif // MLN_CORE_BOX2D_HH + +# ifdef MLN_CORE_BOX3D_HH + template <typename I> void println(const box3d& b, const I& input) { @@ -119,6 +123,8 @@ } } +# endif // MLN_CORE_BOX3D_HH + } // end of namespace mln::debug::impl
participants (1)
-
Simon Nivault