From 8c19656f1693c1fb20ea6048e2bbd6b37dec3a78 Mon Sep 17 00:00:00 2001 From: JoelGunawan Date: Wed, 16 Oct 2024 22:09:14 -0700 Subject: [PATCH] Revert "changed isBetween() to use template" This reverts commit d5a8537dbb22f858250f4f8df2297d7e72ca9b1e. revert due to wrong branch --- include/tcframe/validator/number.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/tcframe/validator/number.hpp b/include/tcframe/validator/number.hpp index f26f7fa..7c2c7d8 100644 --- a/include/tcframe/validator/number.hpp +++ b/include/tcframe/validator/number.hpp @@ -1,7 +1,6 @@ namespace tcframe { -template -bool isBetween(T N, T mn, T mx) { +bool isBetween(long long N, long long mn, long long mx) { return N >= mn && N <= mx; }