fix -Wunused-lambda-capture warning

This commit is contained in:
Wenzel Jakob 2017-02-26 23:15:39 +01:00
parent df244884c0
commit cecb577a19

View File

@ -157,6 +157,7 @@ test_initializer callbacks([](py::module &m) {
return [p]() {
/* p should be cleaned up when the returned function is garbage collected */
(void) p;
};
});