X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1918b044d13378ced09b15b8a78b6e1da036cd72..c2c352c327208f8c6bbdf3eb49eb14ba46f64fdb:/include/simgrid/kernel/resource/Model.hpp diff --git a/include/simgrid/kernel/resource/Model.hpp b/include/simgrid/kernel/resource/Model.hpp index ce391afc37..49918bb978 100644 --- a/include/simgrid/kernel/resource/Model.hpp +++ b/include/simgrid/kernel/resource/Model.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-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. */ @@ -28,6 +28,8 @@ public: }; explicit Model(Model::UpdateAlgo algo); + Model(const Model&) = delete; + Model& operator=(const Model&) = delete; virtual ~Model(); @@ -111,9 +113,9 @@ private: } // namespace kernel } // namespace simgrid -/** \ingroup SURF_models - * \brief List of initialized models +/** @ingroup SURF_models + * @brief List of initialized models */ -XBT_PUBLIC_DATA std::vector* all_existing_models; +XBT_PUBLIC_DATA std::vector all_existing_models; #endif