summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/cgi/cgiEnvironment.cpp4
1 files changed, 4 insertions, 0 deletions
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;
}