From 798948dbe6f012e194f053c4e862cf697f30b793 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 1 Nov 2024 10:18:22 +0100 Subject: more WIP (move some Player things to backend) --- backend/util.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'backend/util.h') diff --git a/backend/util.h b/backend/util.h index 83cae58..15dca58 100644 --- a/backend/util.h +++ b/backend/util.h @@ -7,3 +7,11 @@ void safe_free(char * & ptr); void safe_free(const char * & ptr); void safe_free(FILE * & ptr); +template +inline T min(const T &, const T &); + +template +inline T max(const T &, const T &); + +#include "util.hpp" + -- cgit v1.2.3