Kernel: Make CoreDump::m_num_program_headers const

This makes it an error to assign to it after construction.
This commit is contained in:
Andreas Kling
2020-12-15 11:18:01 +01:00
parent ff8bf4db8d
commit 28c042e46f
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ private:
Process& m_process;
NonnullRefPtr<FileDescription> m_fd;
size_t m_num_program_headers;
const size_t m_num_program_headers;
};
}