Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix compile errors #844

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

Open
here-mikelley wants to merge 6 commits into master
base: master
Choose a base branch
Loading
from here-mikelley-compile-fix-missing-include

Conversation

@here-mikelley
Copy link

@here-mikelley here-mikelley commented May 16, 2020

Add missing #include for std::any_of() and std::count_if()

Add missing #include <algorithm> for std::any_of() and std::count_if()
Copy link

codecov bot commented May 16, 2020
edited
Loading

Codecov Report

Merging #844 into master will increase coverage by 0.0%.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@
## master #844 +/- ##
======================================
 Coverage 78.6% 78.7% 
======================================
 Files 292 292 
 Lines 9951 9951 
======================================
+ Hits 7824 7827 +3 
+ Misses 2127 2124 -3 
Impacted Files Coverage Δ
...p-cpp-sdk-dataservice-read/src/ApiClientLookup.cpp 100.0% <ø> (ø)
...sdk-dataservice-read/src/StreamLayerClientImpl.cpp 100.0% <ø> (ø)
...-dataservice-read/src/VersionedLayerClientImpl.cpp 90.9% <ø> (ø)
...k-dataservice-read/src/VolatileLayerClientImpl.cpp 92.9% <ø> (ø)
...k-dataservice-read/src/generated/api/StreamApi.cpp 100.0% <ø> (ø)
...-read/src/repositories/PrefetchTilesRepository.cpp 93.7% <0.0%> (+0.9%) ⬆️
...re/include/olp/core/client/CancellationContext.inl 92.6% <0.0%> (+7.4%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c7b9b2...6ea989d. Read the comment docs.

Add missing #include for std::find_if()
Add missing #include for std::find() usage
Add #include for std:find()
@here-mikelley here-mikelley changed the title (削除) Fix compile error (削除ここまで) (追記) Fix compile errors (追記ここまで) May 16, 2020
Add missing #include for std::transform()
Copy link
Contributor

@andescu andescu left a comment
edited
Loading

Choose a reason for hiding this comment

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

Thanks for contributing to our repo!

You need to add DCO to your commit message and the commit message needs to have the following structure:

Summarize changes in around 50 characters or less.
 
Mandatory detailed explanatory text. Wrap it to about 72
characters or so. In some contexts, the first line is treated as the
subject of the commit and the rest of the text as the body. The
blank line separating the summary from the body is critical (unless
you omit the body entirely); various tools like `log`, `shortlog`
and `rebase` can get confused if you run the two together.
 
Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how (the code explains that).
Are there side effects or other unintuitive consequences of this
change? Here's the place to explain them.
 
Optional further paragraphs come after blank lines.
 
- Bullet points are okay, too.
 
- Typically a hyphen or asterisk is used for the bullet, preceded
 by a single space, with blank lines in between, but conventions
 vary here.
 
All commits need to reference a ticket, again separated by a blank
line from the commit message summary above:
 
Resolves: ABC-111, #123
Relates-To: ABC-333, #321
See also: ABC-432, #456, #789
 
Signed-off-by: FirstName LastName <firstname.lastname@here.com>

#include "repositories/PartitionsRepository.h"
#include "repositories/PrefetchTilesRepository.h"

#include <algorithm>
Copy link
Contributor

Choose a reason for hiding this comment

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

Please move up between own header and module headers.
See coding style guide -> https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes

#include "repositories/PartitionsRepository.h"
#include "repositories/PrefetchTilesRepository.h"

#include <algorithm>
Copy link
Contributor

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@andescu andescu andescu left review comments

Reviewers whose approvals may not affect merge requirements

At least 2 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /