mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +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
|
@ -108,7 +108,7 @@ int Database::init()
|
|||
if (!m_file.is_valid())
|
||||
return -1;
|
||||
|
||||
m_view = StringView((const char*)m_file.pointer(), m_file.size());
|
||||
m_view = StringView((const char*)m_file.data(), m_file.size());
|
||||
|
||||
ParseMode mode = ParseMode::UnknownMode;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue