diff options
author | Alex Zolotarev <alex@maps.me> | 2016-03-17 14:16:02 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:56:39 +0300 |
commit | 85dead2eb1bdc401dd4f415f8fb697c579a55c57 (patch) | |
tree | 7b8d3b226175f4734a415ebec5993bfce1ccb8d7 /platform | |
parent | ac61f4e77b9f7dcea82aadaeaccfd2ecf7135908 (diff) |
isfinite compilation fix.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/settings.cpp b/platform/settings.cpp index 500f249b9d..0cb17a4f3f 100644 --- a/platform/settings.cpp +++ b/platform/settings.cpp @@ -148,7 +148,7 @@ bool FromStringArray(string const & s, T(&arr)[N]) size_t count = 0; while (count < N && in >> arr[count]) { - if (!std::isfinite(arr[count])) + if (!isfinite(arr[count])) return false; ++count; } |