2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 06:42:27 +00:00

non-template function make_function1 must be inline

[SVN r17791]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2003-03-09 17:26:06 +00:00
parent fbe3d080e8
commit c29241d859

View File

@@ -80,6 +80,7 @@ namespace detail
template <class T>
object make_function1(T fn, ...) { return make_function(fn); }
inline
object make_function1(object const& x, object const*) { return x; }
}