X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/0872290a992e2f6db574c18ac36d1987318d477d..e9c3c48dfa8ea8ebddb2550a1cdd9981c8874bf8:/communicator.h?ds=sidebyside diff --git a/communicator.h b/communicator.h index cfe8624..ce74f07 100644 --- a/communicator.h +++ b/communicator.h @@ -3,7 +3,7 @@ #ifndef COMMUNICATOR_H #define COMMUNICATOR_H -#include +#include #include #include "hostdata.h" #include "messages.h" @@ -31,7 +31,8 @@ private: const hostdata* host; // List of pending send communications - std::list sent_comm; + typedef std::vector sent_comm_type; + sent_comm_type sent_comm; // Queue of received messages message_queue received;