summaryrefslogtreecommitdiff
path: root/Kernel/Memory/VMObject.h
diff options
context:
space:
mode:
authorcreator1creeper1 <creator1creeper1@airmail.cc>2022-01-12 20:57:07 +0100
committerIdan Horowitz <idan.horowitz@gmail.com>2022-01-15 22:16:00 +0200
commit1a2f71581b0687223c47083ab57974ee80498894 (patch)
tree0bfb8c5e46a61e23b55c48b4ffa06eb0b469f2f6 /Kernel/Memory/VMObject.h
parent2a4e410b634e23f87dc985dccea276469d99f8f1 (diff)
downloadserenity-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.h2
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>