aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Aaron Gyes <me@aaron.gy>2016-06-23 20:20:49 -0700
committerGravatar Aaron Gyes <me@aaron.gy>2016-06-23 20:20:49 -0700
commit7a4065eb9f1a31ff61f2c8034ce68457307998e3 (patch)
tree5981063db71afd7eac0d08756da7d9d81be4b3ed
parent13eb302f3cd7474ce0d400404250a9f1fe29447e (diff)
std::isnan()
-rw-r--r--src/fish_key_reader.cpp2
1 files changed, 1 insertions, 1 deletions
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");