X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dc63d290001cd127af79685f3cd811e03eebcece..cc4eceb15c80a597e44222b8c0ff60caf85db959:/include/simgrid/jedule/jedule_platform.hpp diff --git a/include/simgrid/jedule/jedule_platform.hpp b/include/simgrid/jedule/jedule_platform.hpp index e5d5f6407c..0d8cf5ca16 100644 --- a/include/simgrid/jedule/jedule_platform.hpp +++ b/include/simgrid/jedule/jedule_platform.hpp @@ -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. */ @@ -18,10 +18,13 @@ namespace jedule{ class XBT_PUBLIC Container { public: explicit Container(std::string name); + Container(const Container&) = delete; + Container& operator=(const Container&) = delete; virtual ~Container(); private: - int last_id; - int is_lowest = 0; + int last_id_; + int is_lowest_ = 0; + public: std::string name; std::unordered_map name2id;