diff --git a/src/rpc/xmlrpc.cc b/src/rpc/xmlrpc.cc index 25fd751c..48f8aadd 100644 --- a/src/rpc/xmlrpc.cc +++ b/src/rpc/xmlrpc.cc @@ -1,3 +1,4 @@ +#include #include "config.h" #include "xmlrpc.h" @@ -9,7 +10,7 @@ namespace rpc { -std::vector XmlRpc::m_command_names; +std::deque XmlRpc::m_command_names; const char* XmlRpc::store_command_name(const char* name) { diff --git a/src/rpc/xmlrpc.h b/src/rpc/xmlrpc.h index 9d853744..3cbfe822 100644 --- a/src/rpc/xmlrpc.h +++ b/src/rpc/xmlrpc.h @@ -1,6 +1,7 @@ #ifndef RTORRENT_RPC_XMLRPC_H #define RTORRENT_RPC_XMLRPC_H +#include #include #include #include @@ -61,7 +62,7 @@ public: private: static const char* store_command_name(const char* name); - static std::vector m_command_names; + static std::deque m_command_names; slot_download m_slotFindDownload; slot_file m_slotFindFile;