---
milena/ChangeLog | 5 +++++
milena/mln/core/concept/function.hh | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 8014d4b..839b808 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-13 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ * mln/core/concept/function.hh: Be consistent in operator=()
+ prototype.
+
2011-09-13 Roland Levillain <roland(a)lrde.epita.fr>
Prevent g++ 4.2 from issuing bad code for constrained-connectivity.
diff --git a/milena/mln/core/concept/function.hh b/milena/mln/core/concept/function.hh
index 5b6c15a..22e338e 100644
--- a/milena/mln/core/concept/function.hh
+++ b/milena/mln/core/concept/function.hh
@@ -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;
}
--
1.7.2.5