Commit cecb577a by Wenzel Jakob

fix -Wunused-lambda-capture warning

parent df244884
...@@ -157,6 +157,7 @@ test_initializer callbacks([](py::module &m) { ...@@ -157,6 +157,7 @@ test_initializer callbacks([](py::module &m) {
return [p]() { return [p]() {
/* p should be cleaned up when the returned function is garbage collected */ /* p should be cleaned up when the returned function is garbage collected */
(void) p;
}; };
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment