Skip to content

Commit

Permalink
Replace boost hash usage with TfHash in pxr/usd/sdf/path.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nvmkuruc committed Feb 17, 2023
1 parent a8b70f6 commit 8f1f2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxr/usd/sdf/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ struct _PerThreadPrimPathCache
size_t h = childName.Hash();
uint32_t parentAsInt;
memcpy(&parentAsInt, &parent, sizeof(uint32_t));
boost::hash_combine(h, parentAsInt >> 8);
h = TfHash::Combine(h, parentAsInt >> 8);
unsigned index = (h & (Size-1));

for (unsigned probe = 0; probe != Probes; ++probe) {
Expand Down

0 comments on commit 8f1f2fe

Please sign in to comment.