aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-15 06:48:52 -0800
committerChris Robinson <[email protected]>2018-11-15 06:48:52 -0800
commitdc622b3182694793d0189acf402bda6bafdf589a (patch)
tree1f2d69190bbc4bc793da4cbf7c829b77dcfe2ceb /Alc
parenta3b644374b01437d69368ce6c144ab72948ef9f9 (diff)
Use std::isfinite from the cmath header
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index 6c4e970e..9fee3251 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -3812,7 +3812,7 @@ ALC_API ALCcontext* ALC_APIENTRY alcCreateContext(ALCdevice *device, const ALCin
if(ConfigValueFloat(device->DeviceName, nullptr, "volume-adjust", &valf))
{
- if(!isfinite(valf))
+ if(!std::isfinite(valf))
ERR("volume-adjust must be finite: %f\n", valf);
else
{