Skip to content

Commit 8b75273

Browse files
committed
vc6/7 workaround
[SVN r16286]
1 parent f2ac014 commit 8b75273

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/auto_ptr.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ std::auto_ptr<X> callback(object f)
4747

4848
std::auto_ptr<X> extract_(object o)
4949
{
50-
return extract<std::auto_ptr<X>&>(o);
50+
return extract<std::auto_ptr<X>&>(o)
51+
#if BOOST_MSVC <= 1300
52+
()
53+
#endif
54+
;
5155
}
5256

5357
BOOST_PYTHON_MODULE(auto_ptr_ext)

0 commit comments

Comments
 (0)