From f6e6731598a02121be850a17a12384090b40f1ac Mon Sep 17 00:00:00 2001 From: mitchell Date: Mon, 6 Jan 2020 20:20:56 -0500 Subject: More synchronizing LongTerm3 with default. Ideally this covers anything missed during the backport process. --- src/Position.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Position.h') diff --git a/src/Position.h b/src/Position.h index ab8223b54..e0bbcb53f 100644 --- a/src/Position.h +++ b/src/Position.h @@ -21,11 +21,6 @@ typedef ptrdiff_t Line; const Position invalidPosition = -1; -template -inline constexpr T clamp(T val, T minVal, T maxVal) { - return (val > maxVal) ? maxVal : ((val < minVal) ? minVal : val); -} - } #endif -- cgit v1.2.3