Skip to content

Commit

Permalink
Fixed missing ostream include for MacOS when defining DOCTEST_CONFIG_…
Browse files Browse the repository at this point in the history
…USE_STD_HEADERS (#314)
  • Loading branch information
NKTomHaygarth authored and onqtam committed Dec 16, 2019
1 parent 7cdd2bf commit 3dcb0b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions doctest/doctest.h
Expand Up @@ -369,10 +369,7 @@ DOCTEST_GCC_SUPPRESS_WARNING_POP
#ifdef DOCTEST_CONFIG_USE_STD_HEADERS
#include <iosfwd>
#include <cstddef>
#if DOCTEST_MSVC >= DOCTEST_COMPILER(19, 20, 0)
// see this issue on why this is needed: https://github.com/onqtam/doctest/issues/183
#include <ostream>
#endif // VS 2019
#else // DOCTEST_CONFIG_USE_STD_HEADERS

#if DOCTEST_CLANG
Expand Down
3 changes: 0 additions & 3 deletions doctest/parts/doctest_fwd.h
Expand Up @@ -366,10 +366,7 @@ DOCTEST_GCC_SUPPRESS_WARNING_POP
#ifdef DOCTEST_CONFIG_USE_STD_HEADERS
#include <iosfwd>
#include <cstddef>
#if DOCTEST_MSVC >= DOCTEST_COMPILER(19, 20, 0)
// see this issue on why this is needed: https://github.com/onqtam/doctest/issues/183
#include <ostream>
#endif // VS 2019
#else // DOCTEST_CONFIG_USE_STD_HEADERS

#if DOCTEST_CLANG
Expand Down

0 comments on commit 3dcb0b4

Please sign in to comment.