Skip to content

fix a header issue in sgx_enclave_common.cpp #1050

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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.

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

Successfully merging this pull request may close these issues.

2 participants