Merge pull request #190 from twelsby/issue185

fixed #185 - remove approx() and use #pragma to kill warnings
This commit is contained in:
Niels committed 2016-01-24 12:55:40 +01:00
commit e00b00fea8
3 files changed
+35 -24

No files matched your search

+5
View File
@@ -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")