Commit 47a070a1 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

mln/core/concept/function.hh: Be consistent in operator=() prototype.

parent 75205293
2011-09-13 Guillaume Lazzara <z@lrde.epita.fr>
* mln/core/concept/function.hh: Be consistent in operator=()
prototype.
2011-09-13 Roland Levillain <roland@lrde.epita.fr>
 
Prevent g++ 4.2 from issuing bad code for constrained-connectivity.
......@@ -76,7 +76,7 @@ namespace mln
Apple's llvm-gcc has a bug causing memmove() errors if the copy
constructor is not declared along with operator=(). */
Function& operator=(const Function&);
Function<E>& operator=(const Function<E>&);
};
......@@ -231,7 +231,7 @@ namespace mln
template <typename E>
inline
Function<E>&
Function<E>::operator=(const Function&)
Function<E>::operator=(const Function<E>&)
{
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