mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 22:24:57 +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
|
@ -714,7 +714,7 @@ KResultOr<NonnullRefPtr<Custody>> VFS::resolve_path(StringView path, Custody& ba
|
|||
|
||||
// FIXME: We should limit the recursion here and return -ELOOP if it goes to deep.
|
||||
auto symlink_target = resolve_path(
|
||||
StringView(symlink_contents.pointer(),
|
||||
StringView(symlink_contents.data(),
|
||||
symlink_contents.size()),
|
||||
current_parent,
|
||||
parent_custody,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue