]> sigrok.org Git - pulseview.git/commit
analogsignal.cpp: Fix std::isnan() related compile issue on some systems
authorGerhard Sittig <redacted>
Sun, 17 Jun 2018 16:45:47 +0000 (18:45 +0200)
committerGerhard Sittig <redacted>
Tue, 19 Jun 2018 16:47:20 +0000 (18:47 +0200)
commit6f054e926c0a147b9e29e92690fe14cd700f18f6
treec5a9ede19a37076ee4a4ed9195565c0fd13d7eaa
parent4caaaacee32e9a8145968891eb9cd9225260530f
analogsignal.cpp: Fix std::isnan() related compile issue on some systems

Re-do for recent source what commit f9abacf20c85 did to solve bug #531.
Explicitly use std::isnan() in checks. Avoid the 'using' directive since
not all platforms that are supported by sigrok do support it.

  pv/views/trace/analogsignal.cpp:54:12: error: 'isnan' is already declared in this scope
pv/views/trace/analogsignal.cpp