Cleanups to Json Object code.

* Replace Json::JsonException with std::logic_error.
* Move two functions definitions to Object.cpp.
* Fix include guards.
This commit is contained in:
Tom Ritchford
2015-01-29 13:07:19 -05:00
parent e9b7003cf5
commit 0825bd7076
11 changed files with 117 additions and 102 deletions

View File

@@ -20,6 +20,9 @@
#ifndef RIPPLE_BASICS_TOSTRING_H_INCLUDED
#define RIPPLE_BASICS_TOSTRING_H_INCLUDED
#include <string>
#include <type_traits>
namespace ripple {
/** to_string() generalizes std::to_string to handle bools, chars, and strings.