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;
}