Try to fix travis build
This commit is contained in:
parent
6043ad8688
commit
0d95d58f8b
@ -12,6 +12,10 @@
|
|||||||
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||||
// specific language governing permissions and limitations under the License.
|
// specific language governing permissions and limitations under the License.
|
||||||
|
|
||||||
|
// Not throwing exception for this test
|
||||||
|
#include <cassert>
|
||||||
|
#define RAPIDJSON_ASSERT(x) assert(x)
|
||||||
|
|
||||||
#include "unittest.h"
|
#include "unittest.h"
|
||||||
|
|
||||||
// test another instantiation of RapidJSON in a different namespace
|
// test another instantiation of RapidJSON in a different namespace
|
||||||
|
@ -117,7 +117,9 @@ public:
|
|||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef RAPIDJSON_ASSERT
|
||||||
#define RAPIDJSON_ASSERT(x) (!(x) ? throw AssertException(RAPIDJSON_STRINGIFY(x)) : (void)0u)
|
#define RAPIDJSON_ASSERT(x) (!(x) ? throw AssertException(RAPIDJSON_STRINGIFY(x)) : (void)0u)
|
||||||
|
#endif
|
||||||
|
|
||||||
class Random {
|
class Random {
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user