From 76b2066b8ba41f51e8199bd91d93508cf464558c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 2 May 2007 03:04:40 +0000 Subject: More work to use boost/operators.hpp. --- src/xpath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xpath.h') diff --git a/src/xpath.h b/src/xpath.h index 638ec482..16790e2b 100644 --- a/src/xpath.h +++ b/src/xpath.h @@ -760,7 +760,7 @@ inline std::ostream& operator<<(std::ostream& out, const xpath_t::op_t& op) { template inline T * get_ptr(xml::xpath_t::scope_t * locals, unsigned int idx) { assert(locals->args.size() > idx); - T * ptr = static_cast(locals->args[idx].to_pointer()); + T * ptr = static_cast(locals->args[idx].pointer()); assert(ptr); return ptr; } -- cgit v1.2.3