From: Martin Quinson Date: Sun, 10 Jan 2016 00:05:13 +0000 (+0100) Subject: kill dead code X-Git-Tag: v3_13~1296 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5c979a2a19b47295bc467cfda3c6541f60b6fe13 kill dead code --- diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index 4d3b104313..39ca1f47a4 100644 --- a/src/surf/surf_interface.cpp +++ b/src/surf/surf_interface.cpp @@ -589,10 +589,6 @@ void Model::updateActionsStateFull(double /*now*/, double /*delta*/) namespace simgrid { namespace surf { -Resource::Resource() -: p_name(NULL), p_model(NULL) -{THROW_DEADCODE;} // FIXME: DEADCODE? - Resource::Resource(Model *model, const char *name) : Resource(model, name, 1/*ON*/) {} diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index dc8d9bc826..c49574de4f 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -414,8 +414,6 @@ namespace surf { */ XBT_PUBLIC_CLASS Resource { public: - Resource(); - /** * @brief Constructor of non-LMM Resources *