mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
Forget one std::FILE
This commit is contained in:
@ -309,7 +309,7 @@ class input_adapter
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// native support
|
// native support
|
||||||
input_adapter(FILE* file)
|
input_adapter(std::FILE* file)
|
||||||
: ia(std::make_shared<file_input_adapter>(file)) {}
|
: ia(std::make_shared<file_input_adapter>(file)) {}
|
||||||
/// input adapter for input stream
|
/// input adapter for input stream
|
||||||
input_adapter(std::istream& i)
|
input_adapter(std::istream& i)
|
||||||
|
@ -2358,7 +2358,7 @@ class input_adapter
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// native support
|
// native support
|
||||||
input_adapter(FILE* file)
|
input_adapter(std::FILE* file)
|
||||||
: ia(std::make_shared<file_input_adapter>(file)) {}
|
: ia(std::make_shared<file_input_adapter>(file)) {}
|
||||||
/// input adapter for input stream
|
/// input adapter for input stream
|
||||||
input_adapter(std::istream& i)
|
input_adapter(std::istream& i)
|
||||||
|
Reference in New Issue
Block a user