Skip to content

Commit 1cfa795

Browse files
author
Ralf W. Grosse-Kunstleve
committed
work around gcc problems (gcc 3.2.2 and higher); thanks to John Maddock for the patch!
[SVN r27142]
1 parent 567e620 commit 1cfa795

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/python/object_core.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,9 @@ namespace api
383383
template <>
384384
struct object_initializer_impl<false, true>
385385
{
386-
template <class T>
386+
template <class T, class U>
387387
static PyObject*
388-
get(T const& x, ...)
388+
get(T const& x, U)
389389
{
390390
return python::incref(get_managed_object(x, tag));
391391
}

0 commit comments

Comments
 (0)