1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

LibELF+LibDebug: Remove use of ByteBuffer::wrap()

This commit is contained in:
Andreas Kling 2020-12-19 13:14:00 +01:00
parent 685d5f4e25
commit 7c94856c12
4 changed files with 12 additions and 13 deletions

View file

@ -106,8 +106,7 @@ void DebugInfo::prepare_lines()
if (section.is_undefined())
return;
auto buffer = section.wrapping_byte_buffer();
InputMemoryStream stream { buffer };
InputMemoryStream stream { section.bytes() };
Vector<Dwarf::LineProgram::LineInfo> all_lines;
while (!stream.eof()) {