Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jun 11, 2024
1 parent 00343e5 commit 2fb49a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions iguana/detail/pb_type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ inline bool operator<(const sfixed64_t& lhs, const sfixed64_t& rhs) {
}

template <class T>
constexpr bool is_pb_type_v = std::is_same_v<sint32_t, T>||std::is_same_v<sint64_t, T>||std::is_same_v<fixed32_t, T>||
std::is_same_v<fixed64_t, T> || std::is_same_v<sfixed32_t, T>|| std::is_same_v<sfixed64_t, T>;
constexpr bool is_pb_type_v =
std::is_same_v<sint32_t, T> || std::is_same_v<sint64_t, T> ||
std::is_same_v<fixed32_t, T> || std::is_same_v<fixed64_t, T> ||
std::is_same_v<sfixed32_t, T> || std::is_same_v<sfixed64_t, T>;

} // namespace iguana

Expand Down

0 comments on commit 2fb49a7

Please sign in to comment.