From c72f709bbc2fa41b4fb743eff1b5f7144ca78429 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 10 Aug 2013 09:21:01 -0400 Subject: [PATCH] Fixed incorrect type used for iterator in example program. --- examples/server_http_ex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server_http_ex.cpp b/examples/server_http_ex.cpp index d914d9536..99914c14b 100644 --- a/examples/server_http_ex.cpp +++ b/examples/server_http_ex.cpp @@ -72,7 +72,7 @@ class web_server : public server_http sout << "

HTTP Headers the web browser sent to the server

"; // Echo out all the HTTP headers we received from the client web browser - for ( key_value_map::const_iterator ci = incoming.headers.begin(); ci != incoming.headers.end(); ++ci ) + for ( key_value_map_ci::const_iterator ci = incoming.headers.begin(); ci != incoming.headers.end(); ++ci ) { sout << "
" << ci->first << ": " << ci->second << endl; }