From bfa868a440d7824a952f330de87e47503cafc473 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 31 Jul 2003 15:56:10 +0000 Subject: [PATCH] Workarounds for VC6 bugs [SVN r19389] --- include/boost/python/indexing/indexing_suite.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/python/indexing/indexing_suite.hpp b/include/boost/python/indexing/indexing_suite.hpp index 80da6a38..0f3673ff 100644 --- a/include/boost/python/indexing/indexing_suite.hpp +++ b/include/boost/python/indexing/indexing_suite.hpp @@ -147,7 +147,7 @@ namespace boost { namespace python { if (PyObject* shared = container_element_t::get_links().find(container.get(), idx)) { - return extract(shared); + return extract(shared)(); } else { @@ -315,7 +315,7 @@ namespace boost { namespace python { std::vector temp; for (int i = 0; i < l.attr("__len__")(); i++) { - object elem = l[i]; + object elem(l[i]); extract x(elem); // try if elem is an exact Element type if (x.check())