Commit cc4ad3f6 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Workaround for Apple's llvm-gcc 4.2.1 on Mac OS Lion 10.7.1

	* mln/core/concept/function.hh: Add operator=() in Function
	concept class.
parent 2bad7aeb
2011-09-12 Guillaume Lazzara <z@lrde.epita.fr>
Workaround for Apple's llvm-gcc 4.2.1 on Mac OS Lion 10.7.1
* mln/core/concept/function.hh: Add operator=() in Function
concept class.
2011-09-08 Guillaume Lazzara <z@lrde.epita.fr>
 
* doc/Makefile.am: Fix devel-refman output directory.
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008, 2009, 2011 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -70,6 +71,13 @@ namespace mln
protected:
Function();
Function(const Function&);
/* Workaround for Apple's llvm-gcc 4.2.1 (Mac OS Lion 10.7.1)
Apple's llvm-gcc has a bug causing memmove() errors if the copy
constructor is not declared along with operator=().
*/
Function& operator=(const Function&);
};
......@@ -221,6 +229,13 @@ namespace mln
{
}
template <typename E>
inline
Function&
Function<E>::operator=(const Function&)
{
return *this;
}
// Function_n2v.
......
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