mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
This change renames all occurrences of `namespace ripple` and `ripple::` to `namespace xrpl` and `xrpl::`, respectively, as well as the names of test suites. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts.
12 lines
304 B
C
12 lines
304 B
C
#ifndef XRPL_JSON_JSON_ASSERT_H_INCLUDED
|
|
#define XRPL_JSON_JSON_ASSERT_H_INCLUDED
|
|
|
|
#include <xrpl/basics/contract.h>
|
|
#include <xrpl/json/json_errors.h>
|
|
|
|
#define JSON_ASSERT_MESSAGE(condition, message) \
|
|
if (!(condition)) \
|
|
xrpl::Throw<Json::error>(message);
|
|
|
|
#endif
|