last-svn-commit-671-g8f31015 Remove a useless from_to overload.

* mln/convert/from_to.hxx, * mln/convert/impl/from_unsigned_to_value.hh: Remove overload converting unsigned to float. --- milena/ChangeLog | 8 ++++++++ milena/mln/convert/from_to.hxx | 4 ---- milena/mln/convert/impl/from_unsigned_to_value.hh | 12 ++---------- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index 549ea7b..f97ab68 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,3 +1,11 @@ +2010-11-16 Guillaume Lazzara <z@lrde.epita.fr> + + Remove a useless from_to overload. + + * mln/convert/from_to.hxx, + * mln/convert/impl/from_unsigned_to_value.hh: Remove overload + converting unsigned to float. + 2010-11-15 Guillaume Lazzara <z@lrde.epita.fr> Regen mk files in Milena. diff --git a/milena/mln/convert/from_to.hxx b/milena/mln/convert/from_to.hxx index 24f974a..cc7cc15 100644 --- a/milena/mln/convert/from_to.hxx +++ b/milena/mln/convert/from_to.hxx @@ -311,10 +311,6 @@ namespace mln void from_to_(const Value<F>& from, Value<T>& to); - // unsigned -> float - void - from_to_(const unsigned& from, float& to); - // double-> Value template <typename V> void diff --git a/milena/mln/convert/impl/from_unsigned_to_value.hh b/milena/mln/convert/impl/from_unsigned_to_value.hh index fe09a3e..4d4fc3a 100644 --- a/milena/mln/convert/impl/from_unsigned_to_value.hh +++ b/milena/mln/convert/impl/from_unsigned_to_value.hh @@ -1,4 +1,5 @@ -// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE) +// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory +// (LRDE) // // This file is part of Olena. // @@ -119,15 +120,6 @@ namespace mln } - // Facades. - // unsigned-> float - void - from_to_(const unsigned& from, float& to) - { - to = from; - } - - } // end of namespace mln::convert::over_load -- 1.5.6.5
participants (1)
-
Guillaume Lazzara