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:
parent
f3ee5feb02
commit
f63098ccdf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue