Commit 901e4081 authored by Roland Levillain's avatar Roland Levillain
Browse files

Fix the return type of mln::Function<E>::operator=.

	* mln/core/concept/function.hh: Here.
parent c71f5f39
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.
......@@ -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;
......
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