]> AND Private Git Repository - loba.git/blobdiff - communicator.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Add a catchall case in exception handler.
[loba.git] / communicator.h
index cfe8624e62493f37425c5ed4c440e15a63896b58..ce74f077f5b86e33af81d6a91e96d181d34fa558 100644 (file)
@@ -3,7 +3,7 @@
 #ifndef COMMUNICATOR_H
 #define COMMUNICATOR_H
 
 #ifndef COMMUNICATOR_H
 #define COMMUNICATOR_H
 
-#include <list>
+#include <vector>
 #include <msg/msg.h>
 #include "hostdata.h"
 #include "messages.h"
 #include <msg/msg.h>
 #include "hostdata.h"
 #include "messages.h"
@@ -31,7 +31,8 @@ private:
     const hostdata* host;
 
     // List of pending send communications
     const hostdata* host;
 
     // List of pending send communications
-    std::list<msg_comm_t> sent_comm;
+    typedef std::vector<msg_comm_t> sent_comm_type;
+    sent_comm_type sent_comm;
 
     // Queue of received messages
     message_queue received;
 
     // Queue of received messages
     message_queue received;