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
commit62a64011f708ffb52751bf6aafcaad6bb9c2994d (patch)
tree5cce4ef8f557fd7da3dc413443ccfe5ab22bc694
parentPush defined columns stuff into its own class, used from streamRows (diff)
downloadproject2-62a64011f708ffb52751bf6aafcaad6bb9c2994d.tar.bz2
project2-62a64011f708ffb52751bf6aafcaad6bb9c2994d.tar.xz
project2-62a64011f708ffb52751bf6aafcaad6bb9c2994d.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;
}