LibCore+Everywhere: Move SeekMode out of IODevice

This commit is contained in:
Ali Mohammad Pur 2021-05-12 14:01:34 +04:30 committed by Linus Groh
parent a91a49337c
commit 1ae8775a1b
Notes: sideshowbarker 2024-07-18 18:18:30 +09:00
5 changed files with 10 additions and 10 deletions

View file

@ -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");