mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-20 10:02:51 +00:00
LibCore+Everywhere: Move SeekMode out of IODevice
This commit is contained in:
parent
a91a49337c
commit
1ae8775a1b
Notes:
sideshowbarker
2024-07-18 18:18:30 +09:00
Author: https://github.com/alimpfard
Commit: 1ae8775a1b
Pull-request: https://github.com/SerenityOS/serenity/pull/7056
5 changed files with 10 additions and 10 deletions
|
@ -144,7 +144,7 @@ private:
|
|||
{
|
||||
if (m_proc_mem) {
|
||||
// Seeking to the beginning causes a data refresh!
|
||||
if (!m_proc_mem->seek(0, Core::File::SeekMode::SetPosition))
|
||||
if (!m_proc_mem->seek(0, Core::SeekMode::SetPosition))
|
||||
return false;
|
||||
} else {
|
||||
auto proc_memstat = Core::File::construct("/proc/memstat");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue