last-svn-commit-988-g901e408 Fix the return type of mln::Function<E>::operator=.

* mln/core/concept/function.hh: Here. --- milena/ChangeLog | 6 ++++++ milena/mln/core/concept/function.hh | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index 3549cff..3823664 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,11 @@ 2011-09-12 Roland Levillain <roland@lrde.epita.fr> + Fix the return type of mln::Function<E>::operator=. + + * mln/core/concept/function.hh: Here. + +2011-09-12 Roland Levillain <roland@lrde.epita.fr> + Stop warning about Debian's g++ 4.2 compiler issues. * mln/data/memcpy_.hh diff --git a/milena/mln/core/concept/function.hh b/milena/mln/core/concept/function.hh index 6153997..5b6c15a 100644 --- a/milena/mln/core/concept/function.hh +++ b/milena/mln/core/concept/function.hh @@ -72,11 +72,10 @@ namespace mln Function(); Function(const Function&); - /* Workaround for Apple's llvm-gcc 4.2.1 (Mac OS Lion 10.7.1) + /* Workaround for Apple's llvm-gcc 4.2.1 (Mac OS X Lion 10.7.1) Apple's llvm-gcc has a bug causing memmove() errors if the copy - constructor is not declared along with operator=(). - */ + constructor is not declared along with operator=(). */ Function& operator=(const Function&); }; @@ -231,7 +230,7 @@ namespace mln template <typename E> inline - Function& + Function<E>& Function<E>::operator=(const Function&) { return *this; -- 1.7.2.5
participants (1)
-
Roland Levillain