Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
t-b committed Jul 14, 2020
1 parent b75ae59 commit 08f93bd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/src/unit-items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,17 @@ using nlohmann::json;
#define JSON_HAS_CPP_14
#endif

#ifdef DOCTEST_PLATFORM_WINDOWS
#if DOCTEST_CLANG && DOCTEST_CLANG >= DOCTEST_COMPILER(10, 0, 0)
DOCTEST_CLANG_SUPPRESS_WARNING("-Wrange-loop-construct")
#endif // clang 10.x
#endif
#endif

#ifdef DOCTEST_PLATFORM_MAC
#if DOCTEST_CLANG && DOCTEST_CLANG >= DOCTEST_COMPILER(12, 0, 0)
DOCTEST_CLANG_SUPPRESS_WARNING("-Wrange-loop-analysis")
#endif
#endif

TEST_CASE("iterator_wrapper")
{
Expand Down

0 comments on commit 08f93bd

Please sign in to comment.