src/basics.h

changeset 1207
b5df72b194f4
parent 1181
ca6d0ef9aadb
child 1212
851ab72bb850
--- 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 <typename T>
-T max(T a)
-{
-	return a;
-}
-
-/*
  * Returns the maximum of two parameters.
  */
 template <typename T>
@@ -357,15 +348,6 @@
 }
 
 /*
- * Returns the minimum of a single parameter (the parameter itself).
- */
-template <typename T>
-T min(T a)
-{
-	return a;
-}
-
-/*
  * Returns the minimum of two parameters.
  */
 template <typename T>

mercurial