diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-02-28 12:30:11 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-02-28 12:30:11 +0000 |
| commit | c342bde9627b434effbc0cd10b817670d1da0923 (patch) | |
| tree | 60d14bf448066b8dcd639adfa0db716d5a8258c8 /src/HttpHeader.h | |
| parent | 135f0a2a8c4ee04a5e96d84ba558245fabfc1f5c (diff) | |
2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use vector instead of deque for containers which is used for
mostly read-only purpose.
Diffstat (limited to 'src/HttpHeader.h')
| -rw-r--r-- | src/HttpHeader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpHeader.h b/src/HttpHeader.h index 1a42ff4b..e1b19643 100644 --- a/src/HttpHeader.h +++ b/src/HttpHeader.h @@ -38,7 +38,7 @@ #include "common.h" #include <map> -#include <deque> +#include <vector> #include <string> #include <iosfwd> @@ -71,7 +71,7 @@ public: void put(const std::string& name, const std::string& value); bool defined(const std::string& name) const; const std::string& getFirst(const std::string& name) const; - std::deque<std::string> get(const std::string& name) const; + std::vector<std::string> get(const std::string& name) const; unsigned int getFirstAsUInt(const std::string& name) const; uint64_t getFirstAsULLInt(const std::string& name) const; |
