kernel/shared_memory: Make data members private
Rather than allow unfettered access to the class internals, we hide all members by default and create and API that other code can operate against.
This commit is contained in:
@ -40,7 +40,7 @@ struct MIC_U::Impl {
|
||||
shared_memory = rp.PopObject<Kernel::SharedMemory>();
|
||||
|
||||
if (shared_memory) {
|
||||
shared_memory->name = "MIC_U:shared_memory";
|
||||
shared_memory->SetName("MIC_U:shared_memory");
|
||||
}
|
||||
|
||||
IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
|
||||
|
Reference in New Issue
Block a user