diff options
author | donb <donb@gcc20.fsffrance.org> | 2012-01-14 04:02:15 (GMT) |
---|---|---|
committer | donb <donb@gcc20.fsffrance.org> | 2012-01-14 04:02:15 (GMT) |
commit | 65a1c9cf6c8f1c69a6f9fbdc09faeb15b3dc6e4a (patch) | |
tree | e2542e3fa46d6e9faeacda39c03a84ac83272222 /src/context.cc | |
parent | 10701f71581bd4053ab328254d6abacd6956b498 (diff) |
add boosty.h for compatability with boost <1.44
Diffstat (limited to 'src/context.cc')
-rw-r--r-- | src/context.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/context.cc b/src/context.cc index 354195f..8d7b903 100644 --- a/src/context.cc +++ b/src/context.cc @@ -33,6 +33,7 @@ #include <boost/foreach.hpp> #include <boost/filesystem.hpp> using namespace boost::filesystem; +#include "boosty.h" std::vector<const Context*> Context::ctx_stack; @@ -176,7 +177,7 @@ AbstractNode *Context::evaluate_module(const ModuleInstantiation &inst) const std::string Context::getAbsolutePath(const std::string &filename) const { if (!filename.empty()) { - return absolute(path(this->document_path) / filename).string(); + return boosty::absolute(path(this->document_path) / filename).string(); } else { return filename; |