Browse Source

Kernel: Mark private members of SharedCommittedCowPages as private

They were marked public, which seems like an obvious typo.
Andrew Kaster 3 years ago
parent
commit
542640e766
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Kernel/Memory/AnonymousVMObject.h

+ 1 - 1
Kernel/Memory/AnonymousVMObject.h

@@ -75,7 +75,7 @@ private:
         [[nodiscard]] NonnullRefPtr<PhysicalPage> take_one();
         void uncommit_one();
 
-    public:
+    private:
         Spinlock m_lock;
         CommittedPhysicalPageSet m_committed_pages;
     };