🔨 cleanup

This commit is contained in:
Niels Lohmann 2018-04-02 22:25:17 +02:00
parent aa89c5e048
commit 1e08654f99
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
4 changed files with 5 additions and 10 deletions

View file

@ -277,6 +277,7 @@ script:
if [[ (-x $(which brew)) ]]; then
brew update
brew install cmake ninja
brew upgrade cmake
cmake --version
fi

View file

@ -1,11 +1,8 @@
#pragma once
#include <algorithm> // min
#include <array> // array
#include <cassert> // assert
#include <cstddef> // size_t
#include <cstring> // strlen
#include <ios> // streamsize, streamoff, streampos
#include <istream> // istream
#include <iterator> // begin, end, iterator_traits, random_access_iterator_tag, distance, next
#include <memory> // shared_ptr, make_shared, addressof
@ -115,7 +112,7 @@ class input_buffer_adapter : public input_adapter_protocol
/// pointer to the current character
const char* cursor;
/// pointer past the last character
const char* limit;
const char* const limit;
};
class input_adapter

View file

@ -660,4 +660,3 @@ class json_sax_acceptor : public json_sax<BasicJsonType>
}
}

View file

@ -1572,12 +1572,10 @@ constexpr const auto& to_json = detail::static_const<detail::to_json_fn>::value;
// #include <nlohmann/detail/input/input_adapters.hpp>
#include <algorithm> // min
#include <array> // array
#include <cassert> // assert
#include <cstddef> // size_t
#include <cstring> // strlen
#include <ios> // streamsize, streamoff, streampos
#include <istream> // istream
#include <iterator> // begin, end, iterator_traits, random_access_iterator_tag, distance, next
#include <memory> // shared_ptr, make_shared, addressof
@ -1686,9 +1684,9 @@ class input_buffer_adapter : public input_adapter_protocol
private:
/// pointer to the current character
const char* cursor;
const char* const cursor;
/// pointer past the last character
const char* limit;
const char* const limit;
};
class input_adapter