1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:47:44 +00:00

Kernel: Rename Space::create => Space::try_create()

This commit is contained in:
Andreas Kling 2021-07-27 14:54:08 +02:00
parent 8f6bc7fd10
commit a085168c52
4 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@
namespace Kernel {
OwnPtr<Space> Space::create(Process& process, const Space* parent)
OwnPtr<Space> Space::try_create(Process& process, Space const* parent)
{
auto page_directory = PageDirectory::create_for_userspace(parent ? &parent->page_directory().range_allocator() : nullptr);
if (!page_directory)