Commit 2da2a4a8 authored by Roland Levillain's avatar Roland Levillain
Browse files

Address some errors reported by clang.

	* mln/data/fill.hh (mln::data::internal::fill_dispatch): Move this
	function after the routines it calls.
parent 392e46d0
2010-11-29 Roland Levillain <roland@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@lrde.epita.fr>
 
Address clang's warnings.
// 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
......
Markdown is supported
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