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

include algorithm to avoid implicit declaration of std::min() #9805

Merged
merged 1 commit into from
Sep 20, 2021

Conversation

milezhacks
Copy link
Contributor

Problem

Some files make use of min() (which is namespaced from std). Clang 3.8 considers this an implicit declaration and requires #include <algorithm> to remedy. This causes build breaks when compiling w/ Clang3.8

Proposed Solution

add #include <algorithm> in files that use std::min()

@CLAassistant
Copy link

CLAassistant commented Sep 17, 2021

CLA assistant check
All committers have signed the CLA.

@andy31415 andy31415 merged commit c1c015a into project-chip:master Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants