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

mln/value/builtin/carrays.hh: Fix a compilation error with Apple's clang 2.1.

parent cc4ad3f6
2011-09-12 Guillaume Lazzara <z@lrde.epita.fr>
* mln/value/builtin/carrays.hh: Fix a compilation error with
Apple's clang 2.1.
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
// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2009, 2011 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
//
......@@ -69,7 +70,7 @@ namespace mln
{
std::ostringstream s;
s << value_<T>::name() << '[' << n << ']';
return s.str();
return s.str().c_str();
}
};
......
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