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 1ad4d1a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/src/unit-items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ using nlohmann::json;
#define JSON_HAS_CPP_14
#endif

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

TEST_CASE("iterator_wrapper")
{
Expand Down

0 comments on commit 1ad4d1a

Please sign in to comment.