mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Tidy Json:
* Remove unused code. * Rename .inl file to .cpp. * Remove duplicate macros.
This commit is contained in:
committed by
Nik Bougalis
parent
57689c4e66
commit
7ef6e58024
@@ -25,15 +25,9 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
// For json/
|
||||
//
|
||||
|
||||
#define JSON_ASSERT_UNREACHABLE assert( false )
|
||||
#define JSON_ASSERT( condition ) assert( condition ); // @todo <= change this into an exception throw
|
||||
#define JSON_ASSERT_MESSAGE( condition, message ) if (!( condition )) throw std::runtime_error( message );
|
||||
|
||||
#include <ripple/json/impl/json_reader.cpp>
|
||||
#include <ripple/json/impl/json_value.cpp>
|
||||
#include <ripple/json/impl/json_valueiterator.cpp>
|
||||
#include <ripple/json/impl/json_writer.cpp>
|
||||
#include <ripple/json/impl/to_string.cpp>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user