diff options
author | creator1creeper1 <creator1creeper1@airmail.cc> | 2022-01-12 20:57:07 +0100 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2022-01-15 22:16:00 +0200 |
commit | 1a2f71581b0687223c47083ab57974ee80498894 (patch) | |
tree | 0bfb8c5e46a61e23b55c48b4ffa06eb0b469f2f6 /Kernel/Memory/VMObject.h | |
parent | 2a4e410b634e23f87dc985dccea276469d99f8f1 (diff) | |
download | serenity-1a2f71581b0687223c47083ab57974ee80498894.zip |
Kernel: Remove infallible VMObject resource factory functions
These infallible resource factory functions were only there to ease the
conversion to the new factory functions. Since all child classes of
VMObject now use the fallible resource factory functions, we don't
need the infallible versions anymore.
Diffstat (limited to 'Kernel/Memory/VMObject.h')
-rw-r--r-- | Kernel/Memory/VMObject.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/Memory/VMObject.h b/Kernel/Memory/VMObject.h index e2c775fd68..24898722a8 100644 --- a/Kernel/Memory/VMObject.h +++ b/Kernel/Memory/VMObject.h @@ -55,9 +55,7 @@ public: protected: static ErrorOr<FixedArray<RefPtr<PhysicalPage>>> try_create_physical_pages(size_t); - static FixedArray<RefPtr<PhysicalPage>> must_create_physical_pages_but_fixme_should_propagate_errors(size_t); ErrorOr<FixedArray<RefPtr<PhysicalPage>>> try_clone_physical_pages() const; - FixedArray<RefPtr<PhysicalPage>> must_clone_physical_pages_but_fixme_should_propagate_errors() const; explicit VMObject(FixedArray<RefPtr<PhysicalPage>>&&); template<typename Callback> |