Skip to content

Commit 9217a6a

Browse files
author
Ralf W. Grosse-Kunstleve
committed
avoid (incorrect) Tru64 cxx 6.5.1 warning
[SVN r19445]
1 parent 07c1319 commit 9217a6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/object/function.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ extern PyTypeObject function_type;
4343

4444
function::function(
4545
py_function const& implementation
46+
#if BOOST_WORKAROUND(__EDG_VERSION__, == 245)
47+
, python::detail::keyword const* names_and_defaults
48+
#else
4649
, python::detail::keyword const* const names_and_defaults
50+
#endif
4751
, unsigned num_keywords
4852
)
4953
: m_fn(implementation)

0 commit comments

Comments
 (0)