Skip to content

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