diff -r ef2d00e46897 -r c2992fd74dad lemon/radix_sort.h --- a/lemon/radix_sort.h Wed Feb 22 12:45:59 2006 +0000 +++ b/lemon/radix_sort.h Wed Feb 22 18:26:56 2006 +0000 @@ -264,7 +264,7 @@ int byte, Functor functor) { const int size = (unsigned int)std::numeric_limits::max() + 1; - int counter[size]; + std::vector counter(size); for (int i = 0; i < size; ++i) { counter[i] = 0; } @@ -290,7 +290,7 @@ int byte, Functor functor) { const int size = (unsigned int)std::numeric_limits::max() + 1; - int counter[size]; + std::vector counter(size); for (int i = 0; i < size; ++i) { counter[i] = 0; }