mirror of
https://github.com/nlohmann/json.git
synced 2025-07-31 10:24:23 +03:00
include io only if JSON_NO_IO is not set for #2728
This commit is contained in:
@ -38,7 +38,9 @@ SOFTWARE.
|
||||
#include <cstddef> // nullptr_t, ptrdiff_t, size_t
|
||||
#include <functional> // hash, less
|
||||
#include <initializer_list> // initializer_list
|
||||
#include <iosfwd> // istream, ostream
|
||||
#ifndef JSON_NO_IO
|
||||
#include <iosfwd> // istream, ostream
|
||||
#endif // JSON_NO_IO
|
||||
#include <iterator> // random_access_iterator_tag
|
||||
#include <memory> // unique_ptr
|
||||
#include <numeric> // accumulate
|
||||
@ -6882,7 +6884,7 @@ class basic_json
|
||||
parser(detail::input_adapter(i)).parse(false, j);
|
||||
return i;
|
||||
}
|
||||
#endif // JSON_NO_IO
|
||||
#endif // JSON_NO_IO
|
||||
/// @}
|
||||
|
||||
///////////////////////////
|
||||
|
Reference in New Issue
Block a user