
--- scribo/ChangeLog | 4 ++++ scribo/scribo/debug/links_image.hh | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/scribo/ChangeLog b/scribo/ChangeLog index f1c29f3..a58900d 100644 --- a/scribo/ChangeLog +++ b/scribo/ChangeLog @@ -1,5 +1,9 @@ 2013-03-19 Guillaume Lazzara <z@lrde.epita.fr> + * scribo/debug/links_image.hh: Make use of object_link interface. + +2013-03-19 Guillaume Lazzara <z@lrde.epita.fr> + * demo/xml2doc/main.cc: Kill warnings. 2013-03-19 Guillaume Lazzara <z@lrde.epita.fr> diff --git a/scribo/scribo/debug/links_image.hh b/scribo/scribo/debug/links_image.hh index c41446f..30fb071 100644 --- a/scribo/scribo/debug/links_image.hh +++ b/scribo/scribo/debug/links_image.hh @@ -1,4 +1,5 @@ -// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory (LRDE) +// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory +// (LRDE) // // This file is part of Olena. // @@ -87,7 +88,7 @@ namespace scribo scribo::draw::bounding_boxes(links_image, comps, literal::blue); for_all_links(l, links) - if (links(l) != l) + if (links.is_linked(l)) mln::draw::line(links_image, primitive::link::internal::compute_anchor(comps, l, -- 1.7.2.5