mirror of
https://github.com/nlohmann/json.git
synced 2026-10-21 21:48:14 +00:00
include io only if JSON_NO_IO is not set for #2728
This commit is contained in:
1 parent
0a2de2f5b9
commit
ae9bbbc941
3 files changed
+15
-6
No files matched your search
@@ -2,12 +2,16 @@
|
||||
|
||||
#include <algorithm> // copy
|
||||
#include <cstddef> // size_t
|
||||
#include <ios> // streamsize
|
||||
#include <iterator> // back_inserter
|
||||
#include <memory> // shared_ptr, make_shared
|
||||
#include <ostream> // basic_ostream
|
||||
#include <string> // basic_string
|
||||
#include <vector> // vector
|
||||
|
||||
#ifndef JSON_NO_IO
|
||||
#include <ios> // streamsize
|
||||
#include <ostream> // basic_ostream
|
||||
#endif // JSON_NO_IO
|
||||
|
||||
#include <nlohmann/detail/macro_scope.hpp>
|
||||
|
||||
namespace nlohmann
|
||||
|
||||
Reference in new issue
Block a user