Merge pull request #190 from twelsby/issue185
fixed #185 - remove approx() and use #pragma to kill warnings
This commit is contained in:
commit
e00b00fea8
3 changed files with 35 additions and 24 deletions
|
@ -25,6 +25,11 @@
|
|||
#include "json.hpp"
|
||||
using nlohmann::json;
|
||||
|
||||
// disable float-equal warnings on GCC/clang
|
||||
#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
|
||||
#pragma GCC diagnostic ignored "-Wfloat-equal"
|
||||
#endif
|
||||
|
||||
TEST_CASE("constructors")
|
||||
{
|
||||
SECTION("create an empty value with a given type")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue