mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 12:32:20 +02: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:
Notes:
sideshowbarker
2024-07-19 11:52:49 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/8f45a259fc9
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user