Skip to content
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

MAYA-109927: Remove dependency on boost::hash_combine. #1183

Merged
merged 2 commits into from
Feb 24, 2021

Conversation

HamedSabri-adsk
Copy link
Contributor

This PR removes the dependency on boost::hash_combine. MayaUsd::hash_combine should be used instead across the project

@HamedSabri-adsk HamedSabri-adsk changed the title Remove dependency on boost::hash_combine. MAYA-109927: Remove dependency on boost::hash_combine. Feb 16, 2021
@HamedSabri-adsk HamedSabri-adsk added the core Related to core library label Feb 16, 2021
@HamedSabri-adsk HamedSabri-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Feb 22, 2021
@@ -221,14 +221,15 @@ Respect the minimum supported version for Maya and USD stated in [build.md](http
Recent extensions to the C++ standard introduce many features previously only found in [boost](http://boost.org). To avoid introducing additional dependencies, developers should strive to use functionality in the C++ std over boost. If you encounter usage of boost in the code, consider converting this to the equivalent std mechanism.
Our library currently has the following boost dependencies:
* `boost::python`
* `boost::hash_combine` (see [this proposal](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0814r0.pdf) )
* `boost::make_shared` (preferable to replace with `std::shared_ptr`)

***Update:***

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the last PR, it would be good to clean-up this Update section, since we people can use GitHub to check the history of changes. We don't need to keep them in the document.

@kxl-adsk kxl-adsk merged commit f86a2e6 into dev Feb 24, 2021
@kxl-adsk kxl-adsk deleted the sabrih/MAYA-109927/remove_boost_hash_combine branch February 24, 2021 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to core library ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants