Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Enforce "Rule-of-Three/Five".
[simgrid.git] / include / simgrid / jedule / jedule.hpp
index 8e2d804..fd39db5 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2019. 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. */
@@ -17,6 +17,8 @@ namespace jedule{
 class XBT_PUBLIC Jedule {
 public:
   Jedule()=default;
+  Jedule(const Jedule&) = delete;
+  Jedule& operator=(const Jedule&) = delete;
   ~Jedule();
   std::vector<Event*> event_set_;
   Container* root_container_ = nullptr;