Skip to content

Commit 9acd244

Browse files
committed
Runtime: MetadataCacheKey is bit too large to pass by value
1 parent 25280cb commit 9acd244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/MetadataCache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ class MetadataCacheKey {
591591
const void *const *data, uint32_t hash)
592592
: Data(data), Layout(layout), Hash(hash) {}
593593

594-
bool operator==(MetadataCacheKey rhs) const {
594+
bool operator==(const MetadataCacheKey &rhs) const {
595595
// Compare the hashes.
596596
if (hash() != rhs.hash()) return false;
597597

0 commit comments

Comments
 (0)