Skip to content

Commit 34bf156

Browse files
author
Ralf W. Grosse-Kunstleve
committed
non-template function make_function1 must be inline
[SVN r17791]
1 parent 39195ac commit 34bf156

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/boost/python/def.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ namespace detail
8080
template <class T>
8181
object make_function1(T fn, ...) { return make_function(fn); }
8282

83+
inline
8384
object make_function1(object const& x, object const*) { return x; }
8485
}
8586

0 commit comments

Comments
 (0)