From 7a4065eb9f1a31ff61f2c8034ce68457307998e3 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Thu, 23 Jun 2016 20:20:49 -0700 Subject: std::isnan() --- src/fish_key_reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fish_key_reader.cpp b/src/fish_key_reader.cpp index e3804524..2d9076e2 100644 --- a/src/fish_key_reader.cpp +++ b/src/fish_key_reader.cpp @@ -118,7 +118,7 @@ void process_input(bool continuous_mode) { printf("dec: %3u hex: %2x char: %c", c, c, c); } - if (!isnan(delta_tstamp)) { + if (!std::isnan(delta_tstamp)) { printf(" (%.2Lf ms)\n", delta_tstamp); } else { printf("\n"); -- cgit v1.2.3