diff --git a/src/rsgain.cpp b/src/rsgain.cpp index 54f377f..b30ee6d 100644 --- a/src/rsgain.cpp +++ b/src/rsgain.cpp @@ -33,8 +33,8 @@ #include #include #include -#include #include +#include #include #include @@ -150,7 +150,7 @@ bool parse_max_peak_level(const char *value, double &peak) { char *rest = nullptr; double max_peak = strtod(value, &rest); - if (rest == value || !isfinite(max_peak)) { + if (rest == value || !std::isfinite(max_peak)) { output_error("Invalid max peak level '{}'", value); return false; }