mirror of
https://github.com/nlohmann/json.git
synced 2025-07-13 20:21:48 +03:00
✅ added assertion for warning from #368
This commit is contained in:
@ -7885,6 +7885,7 @@ class basic_json
|
||||
m_line_buffer.clear();
|
||||
for (m_cursor = m_start; m_cursor != m_limit; ++m_cursor)
|
||||
{
|
||||
assert(m_cursor != nullptr);
|
||||
m_line_buffer.append(1, static_cast<const char>(*m_cursor));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user