mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
remove useless ctor (#3989)
This commit is contained in:
parent
a05bc3d235
commit
42a41bf3e7
@ -99,7 +99,7 @@ public:
|
|||||||
Return operator()(Args... args) const {
|
Return operator()(Args... args) const {
|
||||||
gil_scoped_acquire acq;
|
gil_scoped_acquire acq;
|
||||||
// casts the returned object as a rvalue to the return type
|
// 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