-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace boost hash usage with TfHash in pxr/base/tf #2173
Conversation
Filed as internal issue #USD-7884 |
442e846
to
3e9dd37
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @nvmkuruc , passing on a few notes from Alex, Ed, and Sunya, mostly identifying a few patterns for this and other PR's. With these addressed, the other PR's in this sequence should go much more quickly. Thank you!!
3a9b3ba
to
aad7f6e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two little cleanliness things - thanks, @nvmkuruc !
Description of Change(s)
To remove the dependency of
pxr/base/tf
on boost's hashing functionsfileUtils
replacesboost::hash_combine
withTfHash::Combine
TfRefPtr
andTfWeakPtrFacade
now implementhash_value
in terms of the existingTfHashAppend
TfRefPtr
andTfWeakPtr
testsstd::hash
is enabled, an overload forstd::type_index
toTfHashAppend
is now providedstd::set
andstd::map
toTfHash
. This will facilitate changes changes in other downstream libraries.Fixes Issue(s)
-#2172 (first of several forthcoming PRs)