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

fix a header issue in sgx_enclave_common.cpp #1050

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dingelish
Copy link
Contributor

sgx_enclave_common.cpp line 164 uses std::upper_bound. the corresponding header file is algorithm. however, it's missing in sgx_enclave_common.cpp. this patch adds it and make the package compile with the latest toolchain.

sgx_enclave_common.cpp [line 164](https://github.com/intel/linux-sgx/blob/c1ceb4fe146e0feb1097dee81c7e89925443e43c/psw/enclave_common/sgx_enclave_common.cpp#L164) uses `std::upper_bound`. the corresponding header file is
`algorithm`. however, it's missing in sgx_enclave_common.cpp.
this patch adds it and make the package compile with the latest
toolchain.
Copy link
Contributor

@jbdelcuv jbdelcuv left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants