Tidy Json:

* Remove unused code.
  * Rename .inl file to .cpp.
  * Remove duplicate macros.
This commit is contained in:
Tom Ritchford
2015-06-26 15:51:10 -04:00
committed by Nik Bougalis
parent 57689c4e66
commit 7ef6e58024
5 changed files with 12 additions and 52 deletions

View File

@@ -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>