mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). This change specifically removes all copyright notices referencing Ripple, XRPLF, and certain affiliated contributors upon mutual agreement, so the notice in the LICENSE.md file applies throughout. Copyright notices referencing external contributions remain as-is. Duplicate verbiage is also removed.
12 lines
306 B
C
12 lines
306 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)) \
|
|
ripple::Throw<Json::error>(message);
|
|
|
|
#endif
|