mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-28 01:52:29 -06:00
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
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ enum class ProcessStatus { Created, Running, Exited };
|
||||||
class ResourceLimit;
|
class ResourceLimit;
|
||||||
struct MemoryRegionInfo;
|
struct MemoryRegionInfo;
|
||||||
|
|
||||||
struct CodeSet final : public Object {
|
class CodeSet final : public Object {
|
||||||
|
public:
|
||||||
struct Segment {
|
struct Segment {
|
||||||
std::size_t offset = 0;
|
std::size_t offset = 0;
|
||||||
VAddr addr = 0;
|
VAddr addr = 0;
|
||||||
|
|
Loading…
Reference in a new issue