summaryrefslogtreecommitdiff
path: root/src/DHTEntryPointNameResolveCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DHTEntryPointNameResolveCommand.h')
-rw-r--r--src/DHTEntryPointNameResolveCommand.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/DHTEntryPointNameResolveCommand.h b/src/DHTEntryPointNameResolveCommand.h
index dadf2993..85c9c92a 100644
--- a/src/DHTEntryPointNameResolveCommand.h
+++ b/src/DHTEntryPointNameResolveCommand.h
@@ -36,10 +36,13 @@
#define _D_DHT_ENTRY_POINT_NAME_RESOVE_COMMAND_H_
#include "Command.h"
-#include "SharedHandle.h"
+
#include <utility>
+#include <vector>
#include <deque>
+#include "SharedHandle.h"
+
namespace aria2 {
class DHTTaskQueue;
@@ -69,7 +72,7 @@ private:
std::deque<std::pair<std::string, uint16_t> > _entryPoints;
- std::deque<std::pair<std::string, uint16_t> > _resolvedEntryPoints;
+ std::vector<std::pair<std::string, uint16_t> > _resolvedEntryPoints;
bool _bootstrapEnabled;
@@ -85,8 +88,9 @@ private:
#endif // ENABLE_ASYNC_DNS
public:
- DHTEntryPointNameResolveCommand(int32_t cuid, DownloadEngine* e,
- const std::deque<std::pair<std:: string, uint16_t> >& entryPoints);
+ DHTEntryPointNameResolveCommand
+ (int32_t cuid, DownloadEngine* e,
+ const std::vector<std::pair<std:: string, uint16_t> >& entryPoints);
virtual ~DHTEntryPointNameResolveCommand();