File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -180,9 +180,9 @@ template <typename... Ts> struct DenseMapInfo<std::tuple<Ts...>> {
180180 }
181181
182182 template <unsigned I> static unsigned getHashValueImpl (const Tuple &values) {
183- if constexpr (I == sizeof ...(Ts))
183+ if constexpr (I == sizeof ...(Ts)) {
184184 return 0 ;
185- else {
185+ } else {
186186 using EltType = std::tuple_element_t <I, Tuple>;
187187 return detail::combineHashValue (
188188 DenseMapInfo<EltType>::getHashValue (std::get<I>(values)),
@@ -196,9 +196,9 @@ template <typename... Ts> struct DenseMapInfo<std::tuple<Ts...>> {
196196
197197 template <unsigned I>
198198 static bool isEqualImpl (const Tuple &lhs, const Tuple &rhs) {
199- if constexpr (I == sizeof ...(Ts))
199+ if constexpr (I == sizeof ...(Ts)) {
200200 return true ;
201- else {
201+ } else {
202202 using EltType = std::tuple_element_t <I, Tuple>;
203203 return DenseMapInfo<EltType>::isEqual (std::get<I>(lhs),
204204 std::get<I>(rhs)) &&
You can’t perform that action at this time.
0 commit comments