Debian Codegraph @

debian/patches/40_c++11_compatibility.patch

raw symbols SCIP
1 Descriptionscip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/patches/`40_c++11_compatibility.patch`#Description.: C++11 compatibility
2 Use C++11 static_assert instead of a macro for assert.
3 Bug-Debianscip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/patches/`40_c++11_compatibility.patch`#Bug-Debian.: https://bugs.debian.org/856406scip-debian-bts debian-bts . . 856406:
4 Forwardedscip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/patches/`40_c++11_compatibility.patch`#Forwarded.: no
5 Authorscip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/patches/`40_c++11_compatibility.patch`#Author.: Graham Inggs <[email protected]scip-debian . . . identity/`[email protected]`.>
6 Last-Updatescip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/patches/`40_c++11_compatibility.patch`#Last-Update.: 2017-08-11
7 --- a/vcg/vcg/math/base.hscip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/upstream/`vcg/vcg/math/base.h`:
8 +++ b/vcg/vcg/math/base.hscip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/upstream/`vcg/vcg/math/base.h`:
9 @@ -93,11 +93,6 @@
10 #include <assert.h>
11 #include <limits.h>
12
13 -/// static_assert: implemented as a macro for "assert", but it is separated for clarity.
14 -/// Should be used for checking integrity constraints that can be tested at complile time,
15 -/// as the ones involving templated constants in templated classes.
16 -#define static_assert assert
17 -
18 #ifdef __BORLANDC__
19 float sqrtf (float v) {return sqrt(v);}
20 float fabsf (float v) {return fabs(v);}