Merge pull request #3791 from asmorkalov:as/zxing_warning

Build warning fix on Windows.
pull/3793/head^2
Alexander Smorkalov 6 months ago committed by GitHub
commit 6c47c008fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      modules/wechat_qrcode/src/zxing/zxing.hpp

@ -55,8 +55,8 @@ typedef unsigned char boolean;
#include <cmath>
namespace zxing {
inline bool isnan(float v) { return (bool)cvIsNaN(v); }
inline bool isnan(double v) { return (bool)cvIsNaN(v); }
inline bool isnan(float v) { return cvIsNaN(v) != 0; }
inline bool isnan(double v) { return cvIsNaN(v) != 0; }
inline float nan() { return std::numeric_limits<float>::quiet_NaN(); }
} // namespace zxing

Loading…
Cancel
Save