Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Enforce "Rule-of-Three/Five".
[simgrid.git] / include / simgrid / jedule / jedule_events.hpp
index 3c853e3..21e4aa9 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. */
@@ -20,6 +20,8 @@ namespace jedule{
 class XBT_PUBLIC Event {
 public:
   Event(std::string name, double start_time, double end_time, std::string type);
+  Event(const Event&) = delete;
+  Event& operator=(const Event&) = delete;
   ~Event();
   void add_characteristic(char* characteristic);
   void add_resources(std::vector<sg_host_t>* host_selection);