mirror of
https://github.com/RGBCube/serenity
synced 2025-06-28 16:42:12 +00:00
ByteBuffer: Remove pointer() in favor of data()
We had two ways to get the data inside a ByteBuffer. That was silly.
This commit is contained in:
parent
dd696e7c75
commit
8f45a259fc
30 changed files with 89 additions and 92 deletions
|
@ -34,7 +34,7 @@ static void load_ksyms_from_data(const ByteBuffer& buffer)
|
|||
{
|
||||
ksym_lowest_address = 0xffffffff;
|
||||
ksym_highest_address = 0;
|
||||
auto* bufptr = (const char*)buffer.pointer();
|
||||
auto* bufptr = (const char*)buffer.data();
|
||||
auto* start_of_name = bufptr;
|
||||
u32 address = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue