summaryrefslogtreecommitdiff
path: root/src/app_thread.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app_thread.hpp')
-rw-r--r--src/app_thread.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app_thread.hpp b/src/app_thread.hpp
index 4fe67fb..14cb8c5 100644
--- a/src/app_thread.hpp
+++ b/src/app_thread.hpp
@@ -24,6 +24,7 @@
#include "stdint.hpp"
#include "object.hpp"
+#include "yarray.hpp"
#include "thread.hpp"
namespace zmq
@@ -67,7 +68,7 @@ namespace zmq
private:
// All the sockets created from this application thread.
- typedef std::vector <class socket_base_t*> sockets_t;
+ typedef yarray_t <socket_base_t> sockets_t;
sockets_t sockets;
// If false, app_thread_t object is not associated with any OS thread.