summaryrefslogtreecommitdiff
path: root/project2/cgi/cgiHttpHeader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/cgi/cgiHttpHeader.cpp')
-rw-r--r--project2/cgi/cgiHttpHeader.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/project2/cgi/cgiHttpHeader.cpp b/project2/cgi/cgiHttpHeader.cpp
index 28dcec9..8b31c80 100644
--- a/project2/cgi/cgiHttpHeader.cpp
+++ b/project2/cgi/cgiHttpHeader.cpp
@@ -1,6 +1,5 @@
#include <pch.hpp>
#include "cgiHttpHeader.h"
-#include <boost/foreach.hpp>
Project2HttpHeader::Project2HttpHeader(const std::string & s) :
cgicc::HTTPHeader("")
@@ -18,10 +17,10 @@ Project2HttpHeader::addHeader(const std::string & name, const Glib::ustring & va
void
Project2HttpHeader::render(std::ostream & out) const
{
- BOOST_FOREACH(const Headers::value_type & h, headers) {
+ for (const Headers::value_type & h : headers) {
out << h.first << ": " << h.second.raw() << std::endl;
}
- BOOST_FOREACH(const cgicc::HTTPCookie & cookie, getCookies()) {
+ for (const cgicc::HTTPCookie & cookie : getCookies()) {
out << cookie << std::endl;
}
out << std::endl;