Commit c01c8309 by Tobias Hansen

### Remove using_namespace_std.patch again.

parent 275a1e40
 lcalc (1.23+dfsg-9) unstable; urgency=medium * Remove using_namespace_std.patch again (incompatible with sagemath 8.4). -- Tobias Hansen Thu, 03 Jan 2019 11:30:10 +0100 lcalc (1.23+dfsg-8) unstable; urgency=medium [ Julien Puydt ] ... ...
 ... ... @@ -9,4 +9,3 @@ pari-apell.patch pari-init-stack.patch clang.patch spelling.patch using_namespace_std.patch
 Origin: https://git.sagemath.org/sage.git/tree/build/pkgs/lcalc/patches/using_namespace_std.patch?h=develop --- a/include/Lcommon.h +++ b/include/Lcommon.h @@ -48,7 +48,7 @@ // Loop i from m to n // Useful in tidying up most for loops -#define loop(i,m,n) for(typeof(m) i=(m); i!=(n); i++) +#define loop(i,m,n) for(auto i=(m); i!=(n); i++) // A class for calculations involving polynomials of small degree // Not efficient enough for huge polynomials --- a/include/Lcommon_ld.h +++ b/include/Lcommon_ld.h @@ -53,7 +53,7 @@ // Loop i from m to n // Useful in tidying up most for loops -#define loop(i,m,n) for(typeof(m) i=(m); i!=(n); i++) +#define loop(i,m,n) for(auto i=(m); i!=(n); i++) // A class for calculations involving polynomials of small degree // Not efficient enough for huge polynomials --- a/include/Lglobals.h +++ b/include/Lglobals.h @@ -24,9 +24,9 @@ #ifndef Lglobals_H #define Lglobals_H +#include using namespace std; -#include #ifdef USE_MPFR #include "Lgmpfrxx.h" typedef mpfr_class Double;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!