mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
ClipboardHistory: Replace Core::BufferedFile use with InputBufferedFile
Core::BufferedFile was renamed to InputBufferedFile in 8c34959b
.
This commit is contained in:
parent
197efc8985
commit
2ceaeccff5
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <AK/NumberFormat.h>
|
||||
#include <AK/StringBuilder.h>
|
||||
#include <LibConfig/Client.h>
|
||||
#include <LibCore/File.h>
|
||||
|
||||
NonnullRefPtr<ClipboardHistoryModel> ClipboardHistoryModel::create()
|
||||
{
|
||||
|
@ -202,7 +203,7 @@ ErrorOr<void> ClipboardHistoryModel::read_from_file(DeprecatedString const& path
|
|||
|
||||
auto read_from_file_impl = [this]() -> ErrorOr<void> {
|
||||
auto file = TRY(Core::File::open(m_path, Core::File::OpenMode::Read));
|
||||
auto buffered_file = TRY(Core::BufferedFile::create(move(file)));
|
||||
auto buffered_file = TRY(Core::InputBufferedFile::create(move(file)));
|
||||
|
||||
auto buffer = TRY(ByteBuffer::create_uninitialized(PAGE_SIZE));
|
||||
|
||||
|
|
Loading…
Reference in a new issue