* mln/data/fill.hh (mln::data::internal::fill_dispatch): Move this
function after the routines it calls.
---
milena/ChangeLog | 7 +++++++
milena/mln/data/fill.hh | 19 ++++++++++---------
2 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 843f891..f9a87f4 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,12 @@
2010-11-29 Roland Levillain <roland(a)lrde.epita.fr>
+ Address some errors reported by clang.
+
+ * mln/data/fill.hh (mln::data::internal::fill_dispatch): Move this
+ function after the routines it calls.
+
+2010-11-29 Roland Levillain <roland(a)lrde.epita.fr>
+
Address clang's warnings.
* mln/algebra/h_vec.hh,
diff --git a/milena/mln/data/fill.hh b/milena/mln/data/fill.hh
index 7556470..61e7055 100644
--- a/milena/mln/data/fill.hh
+++ b/milena/mln/data/fill.hh
@@ -1,4 +1,5 @@
-// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2007, 2008, 2009, 2010 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -78,14 +79,6 @@ namespace mln
// FIXME: check for ambiguities...
}
- // dispatch
-
- template <typename I, typename D>
- void fill_dispatch(Image<I>& ima, const D& data)
- {
- fill_dispatch_overload(exact(ima), exact(data));
- }
-
// dispatch_overload
template <typename I>
@@ -127,6 +120,14 @@ namespace mln
ima(p) = arr[i++];
}
+ // dispatch
+
+ template <typename I, typename D>
+ void fill_dispatch(Image<I>& ima, const D& data)
+ {
+ fill_dispatch_overload(exact(ima), exact(data));
+ }
+
} // end of namespace mln::data::internal
--
1.7.2.5
Show replies by date