Skip to content

Commit

Permalink
Update rapidjson.h
Browse files Browse the repository at this point in the history
  • Loading branch information
miloyip authored Sep 10, 2018
1 parent 8a96a95 commit 783b819
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/rapidjson/rapidjson.h
Original file line number Diff line number Diff line change
Expand Up @@ -603,14 +603,6 @@ RAPIDJSON_NAMESPACE_END
Defaults to C \c assert() (as \ref RAPIDJSON_ASSERT), if \c noexcept is
supported, and to \ref RAPIDJSON_ASSERT otherwise.
*/
#ifndef RAPIDJSON_NOEXCEPT_ASSERT
#if RAPIDJSON_HAS_CXX11_NOEXCEPT
#include <cassert>
#define RAPIDJSON_NOEXCEPT_ASSERT(x) assert(x)
#else
#define RAPIDJSON_NOEXCEPT_ASSERT(x) RAPIDJSON_ASSERT(x)
#endif // RAPIDJSON_HAS_CXX11_NOEXCEPT
#endif // RAPIDJSON_NOEXCEPT_ASSERT

///////////////////////////////////////////////////////////////////////////////
// RAPIDJSON_NOEXCEPT_ASSERT
Expand Down

0 comments on commit 783b819

Please sign in to comment.