Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make some protected fields private.
[simgrid.git] / src / kernel / context / ContextRaw.cpp
index 1cd6340..5695d19 100644 (file)
@@ -27,10 +27,11 @@ class RawContextFactory;
   * preserve the signal mask when switching. This saves a system call (at least on Linux) on each context switch.
   */
 class RawContext : public Context {
-protected:
+private:
   void* stack_ = nullptr;
   /** pointer to top the stack stack */
   void* stack_top_ = nullptr;
+
 public:
   friend class RawContextFactory;
   RawContext(std::function<void()> code,