X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6fb0b52abc86ae251e7d28a9c127dcf26e9a2e1f..b348b0d4cff528bb4562222aa9f7874b8d30626f:/examples/s4u/dht-chord/s4u_dht-chord.hpp diff --git a/examples/s4u/dht-chord/s4u_dht-chord.hpp b/examples/s4u/dht-chord/s4u_dht-chord.hpp index a63191fadf..7b64d2c801 100644 --- a/examples/s4u/dht-chord/s4u_dht-chord.hpp +++ b/examples/s4u/dht-chord/s4u_dht-chord.hpp @@ -63,7 +63,10 @@ public: int answer_id = -1; // answer (used by some types of messages) simgrid::s4u::MailboxPtr answer_to; // mailbox to send an answer to (if any) - ChordMessage(e_message_type_t type) : type(type) { issuer_host_name = simgrid::s4u::this_actor::host()->name(); } + explicit ChordMessage(e_message_type_t type) : type(type) + { + issuer_host_name = simgrid::s4u::this_actor::host()->name(); + } ~ChordMessage() = default; };