From: Martin Quinson Date: Wed, 15 Feb 2017 22:03:02 +0000 (+0100) Subject: make the Actors extendable (that was easy) X-Git-Tag: v3_15~371 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9f07b2143b628041a4766877fc3cf518ffc88904?ds=sidebyside make the Actors extendable (that was easy) --- diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 11d682c62e..2a768f341e 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -18,6 +18,7 @@ #include +#include #include #include #include @@ -131,7 +132,9 @@ namespace s4u { */ /** @brief Simulation Agent */ -XBT_PUBLIC_CLASS Actor { +XBT_PUBLIC_CLASS Actor : public simgrid::xbt::Extendable +{ + friend Mailbox; friend simgrid::simix::ActorImpl; friend simgrid::kernel::activity::MailboxImpl;