Files
MINGW-packages/mingw-w64-ode/021-c++17.patch
2025-04-09 06:16:10 +01:00

13 lines
536 B
Diff

diff -bur ode-0.16.6-orig/ode/demo/demo_kinematic.cpp ode-0.16.6/ode/demo/demo_kinematic.cpp
--- ode-0.16.6-orig/ode/demo/demo_kinematic.cpp 2025-04-08 15:16:41.491832100 -0600
+++ ode-0.16.6/ode/demo/demo_kinematic.cpp 2025-04-08 15:16:46.669749900 -0600
@@ -177,7 +177,7 @@
dsDrawBox(matraca_geom->getPosition(), matraca_geom->getRotation(), lengths);
// and the boxes
- for_each(boxes.begin(), boxes.end(), mem_fun(&Box::draw));
+ for_each(boxes.begin(), boxes.end(), mem_fn(&Box::draw));
}
void command(int c)