summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-07-20 08:59:09 +0000
committerrandomdan <randomdan@localhost>2011-07-20 08:59:09 +0000
commit6ef8655640f61ec0962936c7c41042fa92d29575 (patch)
tree5cce4ef8f557fd7da3dc413443ccfe5ab22bc694
parentPush defined columns stuff into its own class, used from streamRows (diff)
downloadproject2-6ef8655640f61ec0962936c7c41042fa92d29575.tar.bz2
project2-6ef8655640f61ec0962936c7c41042fa92d29575.tar.xz
project2-6ef8655640f61ec0962936c7c41042fa92d29575.zip
Fix compilation against old Boost
-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;
}