some cleanup after #87

pull/88/merge
Niels 2015-06-13 10:29:43 +02:00
parent a8339894b2
commit 7c579f11e5
3 changed files with 195 additions and 198 deletions

5
.gitignore vendored
View File

@ -1,6 +1,3 @@
json_unit
html
benchmark
json_benchmarks
working

File diff suppressed because it is too large Load Diff

View File

@ -469,7 +469,7 @@ class basic_json
/// create a container (array or object) from an initializer list
basic_json(list_init_t init, bool type_deduction = true,
value_t manual_type = value_t::array)
value_t manual_type = value_t::array)
{
// the initializer list could describe an object
bool is_object = true;
@ -2175,7 +2175,7 @@ class basic_json
@param currentIndent the current indent level (only used internally)
*/
void dump(std::ostream& o, const bool prettyPrint, const unsigned int indentStep,
const unsigned int currentIndent = 0) const noexcept
const unsigned int currentIndent = 0) const noexcept
{
// variable to hold indentation for recursive calls
auto new_indent = currentIndent;
@ -3398,8 +3398,8 @@ class basic_json
{
public:
reverse_iterator(const typename
std::reverse_iterator<typename basic_json::iterator>::iterator_type&
it)
std::reverse_iterator<typename basic_json::iterator>::iterator_type&
it)
: std::reverse_iterator<basic_json::iterator>(it) {}
/// return the key of an object iterator
@ -3420,7 +3420,7 @@ class basic_json
{
public:
const_reverse_iterator(const typename
std::reverse_iterator<typename basic_json::const_iterator>::iterator_type& it)
std::reverse_iterator<typename basic_json::const_iterator>::iterator_type& it)
: std::reverse_iterator<basic_json::const_iterator>(it) {}
/// return the key of an object iterator
@ -3506,7 +3506,7 @@ class basic_json
@see <http://en.wikipedia.org/wiki/UTF-8#Sample_code>
*/
static string_t to_unicode(const std::size_t codepoint1,
const std::size_t codepoint2 = 0)
const std::size_t codepoint2 = 0)
{
string_t result;