Skip to content
Permalink
Browse files

src: remove GTEST_DONT_DEFINE_ASSERT_EQ in util.h

As indicated by the FIXME comment, this macro guard is no longer needed.

PR-URL: #12638
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information...
danbev authored and addaleax committed Apr 25, 2017
1 parent e927809 commit 5bb06e8596001ce41bbc6595e9bdf6773b825dea
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/util.h
@@ -124,14 +124,6 @@ template <typename T> using remove_reference = std::remove_reference<T>;
} \
} while (0)

// FIXME(bnoordhuis) cctests don't link in node::Abort() and node::Assert().
#ifdef GTEST_DONT_DEFINE_ASSERT_EQ
#undef ABORT
#undef CHECK
#define ABORT ABORT_NO_BACKTRACE
#define CHECK assert
#endif

#ifdef NDEBUG
#define ASSERT(expr)
#else

0 comments on commit 5bb06e8

Please sign in to comment.
You can’t perform that action at this time.