Skip to content

Commit

Permalink
Revert "changed isBetween() to use template"
Browse files Browse the repository at this point in the history
This reverts commit d5a8537.

revert due to wrong branch
  • Loading branch information
JoelGunawan committed Oct 17, 2024
1 parent d5a8537 commit 8c19656
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/tcframe/validator/number.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace tcframe {

template<typename T>
bool isBetween(T N, T mn, T mx) {
bool isBetween(long long N, long long mn, long long mx) {
return N >= mn && N <= mx;
}

Expand Down

0 comments on commit 8c19656

Please sign in to comment.