mirror of
https://github.com/marzer/tomlplusplus.git
synced 2026-02-22 03:52:23 +00:00
Fix build with GCC 8.2.0 (#15)
Fix build with GCC 8.2.0 Co-authored-by: Gábor Kozár <kozar@davinciderivatives.com>
This commit is contained in:
@@ -221,8 +221,8 @@ TOML_IMPL_START
|
||||
recording_buffer.clear();
|
||||
else
|
||||
recording_buffer.erase(
|
||||
recording_buffer.cbegin() + static_cast<ptrdiff_t>(recording_buffer.length() - pop_bytes),
|
||||
recording_buffer.cend()
|
||||
recording_buffer.begin() + static_cast<ptrdiff_t>(recording_buffer.length() - pop_bytes),
|
||||
recording_buffer.end()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user