Skip to content

Commit

Permalink
Forget one std::FILE
Browse files Browse the repository at this point in the history
  • Loading branch information
dumarjo committed Dec 14, 2018
1 parent 635a4fc commit c1c85b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/nlohmann/detail/input/input_adapters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class input_adapter
{
public:
// native support
input_adapter(FILE* file)
input_adapter(std::FILE* file)
: ia(std::make_shared<file_input_adapter>(file)) {}
/// input adapter for input stream
input_adapter(std::istream& i)
Expand Down
2 changes: 1 addition & 1 deletion single_include/nlohmann/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2358,7 +2358,7 @@ class input_adapter
{
public:
// native support
input_adapter(FILE* file)
input_adapter(std::FILE* file)
: ia(std::make_shared<file_input_adapter>(file)) {}
/// input adapter for input stream
input_adapter(std::istream& i)
Expand Down

0 comments on commit c1c85b0

Please sign in to comment.