diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-05-28 16:19:10 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-05-28 16:19:10 +0300 |
commit | 3861276167ecf679e66ce0f0a7e02c05ec3f84a8 (patch) | |
tree | 3f5c9b064e09b2b5e782824a7e79cef182fd494f /src/ObjectModel | |
parent | 94a36fa9c95748323666929984972af08ab18335 (diff) |
More changes to support 5LC build configuration
Diffstat (limited to 'src/ObjectModel')
-rw-r--r-- | src/ObjectModel/ObjectModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ObjectModel/ObjectModel.cpp b/src/ObjectModel/ObjectModel.cpp index 93eca965..9c8669dc 100644 --- a/src/ObjectModel/ObjectModel.cpp +++ b/src/ObjectModel/ObjectModel.cpp @@ -940,7 +940,7 @@ void ObjectModel::ReportFloat(OutputBuffer *buf, const ExpressionValue& val) noe { buf->cat('0'); // replace 0.000... in JSON by 0. This is mostly to save space when writing workplace coordinates. } - else if (isnan(val.fVal) || isinf(val.fVal)) + else if (std::isnan(val.fVal) || std::isinf(val.fVal)) { buf->cat("null"); // avoid generating bad JSON if the value is a NaN or infinity } |