Commit 4d1677cf authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Add missing traces.

	* mln/convert/to_qimage.hh,
	* mln/convert/to_qimage_nocopy.hh: Here.
parent 951bfdd9
2010-08-11 Guillaume Lazzara <z@lrde.epita.fr>
Add missing traces.
* mln/convert/to_qimage.hh,
* mln/convert/to_qimage_nocopy.hh: Here.
2010-08-11 Guillaume Lazzara <z@lrde.epita.fr>
 
* headers.mk: Regen.
......@@ -279,11 +279,14 @@ namespace mln
inline
QImage to_qimage(const Image<I>& ima_)
{
trace::entering("convert::to_qimage");
const I& ima = exact(ima_);
mln_precondition(ima.is_valid());
QImage output = internal::to_qimage_dispatch(ima);
trace::exiting("convert::to_qimage");
return output;
}
......
......@@ -27,7 +27,6 @@
///
/// Convert a Milena image to a Qimage.
#ifndef MLN_CONVERT_TO_QIMAGE_NOCOPY_HH
# define MLN_CONVERT_TO_QIMAGE_NOCOPY_HH
......@@ -162,11 +161,14 @@ namespace mln
inline
QImage to_qimage_nocopy(const Image<I>& ima_)
{
trace::entering("convert::to_qimage_nocopy");
const I& ima = exact(ima_);
mln_precondition(ima.is_valid());
QImage output = internal::to_qimage_nocopy_dispatch(ima);
trace::exiting("convert::to_qimage_nocopy");
return output;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment