From 9f07b2143b628041a4766877fc3cf518ffc88904 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 15 Feb 2017 23:03:02 +0100 Subject: [PATCH] make the Actors extendable (that was easy) --- include/simgrid/s4u/Actor.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.20.1