1
Fork 0
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:
Andreas Kling 2019-09-30 08:57:01 +02:00
parent dd696e7c75
commit 8f45a259fc
30 changed files with 89 additions and 92 deletions

View file

@ -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,