mirror of
https://github.com/nlohmann/json.git
synced 2026-02-20 03:12:13 +00:00
fixes #310
This commit is contained in:
@@ -8614,7 +8614,7 @@ basic_json_parser_63:
|
||||
std::string line;
|
||||
std::getline(*m_stream, line);
|
||||
// add line with newline symbol to the line buffer
|
||||
m_line_buffer += "\n" + line;
|
||||
m_line_buffer += line + "\n";
|
||||
}
|
||||
|
||||
// set pointers
|
||||
|
||||
@@ -7911,7 +7911,7 @@ class basic_json
|
||||
std::string line;
|
||||
std::getline(*m_stream, line);
|
||||
// add line with newline symbol to the line buffer
|
||||
m_line_buffer += "\n" + line;
|
||||
m_line_buffer += line + "\n";
|
||||
}
|
||||
|
||||
// set pointers
|
||||
|
||||
Reference in New Issue
Block a user