From 6ef8655640f61ec0962936c7c41042fa92d29575 Mon Sep 17 00:00:00 2001 From: randomdan Date: Wed, 20 Jul 2011 08:59:09 +0000 Subject: Fix compilation against old Boost --- project2/cgi/cgiEnvironment.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/project2/cgi/cgiEnvironment.cpp b/project2/cgi/cgiEnvironment.cpp index 21799db..e88dbc1 100644 --- a/project2/cgi/cgiEnvironment.cpp +++ b/project2/cgi/cgiEnvironment.cpp @@ -11,7 +11,11 @@ makeVector(const boost::filesystem::path & y) boost::filesystem::path::iterator p = y.begin(); p++; while(p != y.end()) { +#if BOOST_VERSION >= 104500 r.push_back((p++)->string()); +#else + r.push_back(*(p++)); +#endif } return r; } -- cgit v1.2.3