diff options
author | Chris Wilson <chris+github@qwirx.com> | 2010-08-28 11:55:10 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2010-08-28 11:55:10 +0000 |
commit | a92cb42148b4d92f0cdeb44192293604b56c1592 (patch) | |
tree | 924393249a85d78c06fbf18a97b57b0aee46bb52 | |
parent | e622b941fbb760b4c9e9679df564e39b34729105 (diff) |
Fix compile error on OpenSolaris 10/Sun Studio 12. (merges [2720])
-rw-r--r-- | lib/httpserver/HTTPRequest.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/httpserver/HTTPRequest.h b/lib/httpserver/HTTPRequest.h index ca50e60f..25effb70 100644 --- a/lib/httpserver/HTTPRequest.h +++ b/lib/httpserver/HTTPRequest.h @@ -49,7 +49,8 @@ private: HTTPRequest &operator=(const HTTPRequest &); public: typedef std::multimap<std::string, std::string> Query_t; - typedef std::pair<std::string, std::string> QueryEn_t, Header; + typedef Query_t::value_type QueryEn_t; + typedef std::pair<std::string, std::string> Header; enum { |