mirror of https://github.com/ecmwf/eccodes.git
C++ warning: compound assignment to object of volatile-qualified type 'volatile double' is deprecated
This commit is contained in:
parent
2e42ca24d1
commit
bf228e46a5
|
@ -16,7 +16,7 @@
|
|||
|
||||
static double epsilon()
|
||||
{
|
||||
volatile double e = 1.;
|
||||
double e = 1.;
|
||||
while (1. != (1. + e)) {
|
||||
e /= 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue