-/* 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. */
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<const char*, unsigned int> name2id;