Kernel/CodeSet: change struct to class

Fix a warning where class definition and forward declaration mismatch. CodeSet is a kernel object and have ctor/dtor/private members like others, so in convention it should be a class
This commit is contained in:
Weiyi Wang 2018-10-28 10:34:08 -04:00
parent f3ee5feb02
commit f63098ccdf
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ enum class ProcessStatus { Created, Running, Exited };
class ResourceLimit;
struct MemoryRegionInfo;
struct CodeSet final : public Object {
class CodeSet final : public Object {
public:
struct Segment {
std::size_t offset = 0;
VAddr addr = 0;