From 11c9deb31bc7a581d9838916a67645eb90119d55 Mon Sep 17 00:00:00 2001 From: Alexander Kobel Date: Mon, 24 Nov 2014 10:52:38 +0100 Subject: [PATCH] add const for prime list --- Modular_arithmetic/include/CGAL/primes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modular_arithmetic/include/CGAL/primes.h b/Modular_arithmetic/include/CGAL/primes.h index ddc0c8ca24d..c79c4c08682 100644 --- a/Modular_arithmetic/include/CGAL/primes.h +++ b/Modular_arithmetic/include/CGAL/primes.h @@ -27,7 +27,7 @@ namespace CGAL { namespace internal { -CGAL_EXPORT extern int primes[2000]; +CGAL_EXPORT extern const int primes[2000]; static inline int get_next_lower_prime(int current_prime){