diff options
author | randomdan <randomdan@localhost> | 2011-07-20 08:59:09 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-07-20 08:59:09 +0000 |
commit | 6ef8655640f61ec0962936c7c41042fa92d29575 (patch) | |
tree | 5cce4ef8f557fd7da3dc413443ccfe5ab22bc694 | |
parent | Push defined columns stuff into its own class, used from streamRows (diff) | |
download | project2-6ef8655640f61ec0962936c7c41042fa92d29575.tar.bz2 project2-6ef8655640f61ec0962936c7c41042fa92d29575.tar.xz project2-6ef8655640f61ec0962936c7c41042fa92d29575.zip |
Fix compilation against old Boost
-rw-r--r-- | project2/cgi/cgiEnvironment.cpp | 4 |
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; } |