* mln/convert/to_qimage.hh,
* mln/convert/to_qimage_nocopy.hh: Here.
---
milena/ChangeLog | 7 +++++++
milena/mln/convert/to_qimage.hh | 3 +++
milena/mln/convert/to_qimage_nocopy.hh | 4 +++-
3 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 4b07835..b149b2b 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,12 @@
2010-08-11 Guillaume Lazzara <z(a)lrde.epita.fr>
+ Add missing traces.
+
+ * mln/convert/to_qimage.hh,
+ * mln/convert/to_qimage_nocopy.hh: Here.
+
+2010-08-11 Guillaume Lazzara <z(a)lrde.epita.fr>
+
* headers.mk: Regen.
2010-08-10 Guillaume Lazzara <z(a)lrde.epita.fr>
diff --git a/milena/mln/convert/to_qimage.hh b/milena/mln/convert/to_qimage.hh
index c87771e..b5b22ae 100644
--- a/milena/mln/convert/to_qimage.hh
+++ b/milena/mln/convert/to_qimage.hh
@@ -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;
}
diff --git a/milena/mln/convert/to_qimage_nocopy.hh
b/milena/mln/convert/to_qimage_nocopy.hh
index fbae2f6..91a96ad 100644
--- a/milena/mln/convert/to_qimage_nocopy.hh
+++ b/milena/mln/convert/to_qimage_nocopy.hh
@@ -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;
}
--
1.5.6.5
Show replies by date