Skip to content

Commit af7f1e6

Browse files
authored
Merge pull request #35574 from compnerd/disambiguate
Basic: add explicit template parameters for disambiguation
2 parents 65fae09 + 25d83bf commit af7f1e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Basic/Fingerprint.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ template <> struct StableHasher::Combiner<Fingerprint> {
123123
// raw bytes from the core by hand.
124124
uint8_t buffer[8];
125125
memcpy(buffer, &Val.core.first, sizeof(buffer));
126-
hasher.combine(buffer);
126+
hasher.combine<sizeof(buffer)>(buffer);
127127
memcpy(buffer, &Val.core.second, sizeof(buffer));
128-
hasher.combine(buffer);
128+
hasher.combine<sizeof(buffer)>(buffer);
129129
}
130130
};
131131

0 commit comments

Comments
 (0)