Kernel: Reverse global accessor removal.

This commit is contained in:
Fernando Sahmkow 2019-10-12 10:21:33 -04:00 committed by FernandoS27
parent 3073615dbc
commit c32520ceb7
4 changed files with 9 additions and 23 deletions

View file

@ -232,14 +232,6 @@ const Kernel::GlobalScheduler& KernelCore::GlobalScheduler() const {
return impl->global_scheduler;
}
Core::System& KernelCore::System() {
return impl->system;
}
const Core::System& KernelCore::System() const {
return impl->system;
}
void KernelCore::AddNamedPort(std::string name, SharedPtr<ClientPort> port) {
impl->named_ports.emplace(std::move(name), std::move(port));
}