# HG changeset patch # User Teemu Piippo # Date 1489012807 -7200 # Node ID b5df72b194f4af9538f2280c41ef64ac3da198ba # Parent 743dc95e0be637ce0d34be8e3f39061ff94f256b Removed the unary min and max functions. diff -r 743dc95e0be6 -r b5df72b194f4 src/basics.h --- a/src/basics.h Wed Mar 08 22:48:43 2017 +0200 +++ b/src/basics.h Thu Mar 09 00:40:07 2017 +0200 @@ -330,15 +330,6 @@ } /* - * Returns the maximum of a single parameter (the parameter itself). - */ -template -T max(T a) -{ - return a; -} - -/* * Returns the maximum of two parameters. */ template @@ -357,15 +348,6 @@ } /* - * Returns the minimum of a single parameter (the parameter itself). - */ -template -T min(T a) -{ - return a; -} - -/* * Returns the minimum of two parameters. */ template