Skip to content

Commit

Permalink
suppressed Clang Tidy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 5, 2024
1 parent 9998a76 commit c681ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/orm/utils/integralcast.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace Private
return "bool";

// Platform dependent long int type (LP64, LLP64, ILP32, and LP32)
else if constexpr (std::is_same_v<T, long int>) {
else if constexpr (std::is_same_v<T, long int>) { // NOLINT(google-runtime-int)

if constexpr (sizeof (T) == 4)
return "int32 (long)";
Expand All @@ -60,7 +60,7 @@ namespace Private
"(long).");
#endif
}
else if constexpr (std::is_same_v<T, unsigned long int>) {
else if constexpr (std::is_same_v<T, unsigned long int>) { // NOLINT(google-runtime-int)

if constexpr (sizeof (T) == 4)
return "uint32 (ulong)";
Expand Down

0 comments on commit c681ed8

Please sign in to comment.