mirror of
https://github.com/pybind/pybind11.git
synced 2024-12-03 18:37:12 +00:00
Merge branch 'pybind:master' into master
This commit is contained in:
commit
e9a70ce059
@ -99,7 +99,7 @@ public:
|
||||
Return operator()(Args... args) const {
|
||||
gil_scoped_acquire acq;
|
||||
// casts the returned object as a rvalue to the return type
|
||||
return object(hfunc.f(std::forward<Args>(args)...)).template cast<Return>();
|
||||
return hfunc.f(std::forward<Args>(args)...).template cast<Return>();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user