mirror of
https://github.com/nlohmann/json.git
synced 2026-10-18 03:58:12 +00:00
Forget one std::FILE
This commit is contained in:
1 parent
635a4fc344
commit
c1c85b025c
2 files changed
+2
-2
No files matched your search
@@ -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