]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/context/ContextSwapped.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace magic number 8.
[simgrid.git] / src / kernel / context / ContextSwapped.hpp
index 414416d41f95431cbe59600163d47ee796fbdf63..47921c17188a269309ca15371c477941d8a8f99b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2009-2021. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -50,7 +50,7 @@ public:
   SwappedContext(std::function<void()>&& code, actor::ActorImpl* get_actor, SwappedContextFactory* factory);
   SwappedContext(const SwappedContext&) = delete;
   SwappedContext& operator=(const SwappedContext&) = delete;
-  virtual ~SwappedContext();
+  ~SwappedContext() override;
 
   void suspend() override;
   virtual void resume();