c++11's isnan() is a constexpr function, while c's is a macro
Signed-off-by: Casey Bodley <cbodley@redhat.com>
else
bandwidth = 0;
- if (!isnan(bandwidth) && bandwidth > 0) {
+ if (!std::isnan(bandwidth) && bandwidth > 0) {
if (bandwidth > data.idata.max_bandwidth)
data.idata.max_bandwidth = bandwidth;
if (bandwidth < data.idata.min_bandwidth)
else
iops = 0;
- if (!isnan(iops)) {
+ if (!std::isnan(iops)) {
if (iops > data.idata.max_iops)
data.idata.max_iops = iops;
if (iops < data.idata.min_iops)