URL:
https://svn.lrde.epita.fr/svn/oln/trunk/milena
ChangeLog:
2007-10-12 Simon Nivault <simon.nivault(a)lrde.epita.fr>
Delete a warning of g++-4.1.
* mln/fun/internal/x2x_linear_impl.hh: Fix.
---
x2x_linear_impl.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: trunk/milena/mln/fun/internal/x2x_linear_impl.hh
===================================================================
--- trunk/milena/mln/fun/internal/x2x_linear_impl.hh (revision 1332)
+++ trunk/milena/mln/fun/internal/x2x_linear_impl.hh (revision 1333)
@@ -49,7 +49,7 @@
template <typename V, typename E>
struct x2x_linear_impl_
{
- enum { dim = V::dim };
+ static const unsigned dim = V::dim; // To please g++ when comparing dim in metal
bexpr.
typedef V argument;
typedef V result;