aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-05-09 14:04:03 +0200
committerdec05eba <dec05eba@protonmail.com>2024-05-09 14:04:03 +0200
commite2adb33f6cb05fb424175633c56ff43cc24a7adf (patch)
tree6af8e60d3c43cdcdbd6ceac3a7effeea85f4d9bf /src/Body.cpp
parentdb8f15fe4ea1686023584fcebd218a9c5e354caf (diff)
Fix build after gcc update (function pointer cast, missing algorithm header include)
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index e5a23b8..1d11962 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -15,6 +15,7 @@
#include <assert.h>
#include <malloc.h>
#include <cmath>
+#include <algorithm>
struct BodySpacing {
float spacing_y = 0.0f;