-
Notifications
You must be signed in to change notification settings - Fork 44
Migrate to boost process v2 #338
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
Conversation
dcf05ea to
d3204e4
Compare
| #else | ||
| #include <sys/resource.h> | ||
|
|
||
| #include <string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is it needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string is used on line 39. However it obviously worked before, because it is implicitly included from on of the other includes.
The reason why this pops up now: The code is checked with cpplint, a static code checker. It produces an error called "include what you use". cpplint must pass as part of the checkstyle workflow run on the PR. checkstyle runs only on files that change. So with other words: Because I made a change to this file, cpplint forced me to cleanup.
| #include <chrono> // NOLINT | ||
| #include <string> | ||
| #include <thread> // NOLINT | ||
| #include <vector> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same answer: string and vector are used in this file, however this file hasn't been touched since the introduction of cpplint as CI workflow.
Migrate to boost process v2, fixes compile problems on newer versions of boost.
In addition: