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

Windows build fixes #2352

Merged
merged 2 commits into from Nov 21, 2019
Merged

Conversation

MonsieurNicolas
Copy link
Contributor

No description provided.

@MonsieurNicolas MonsieurNicolas added this to In progress in v12.2.0 via automation Nov 20, 2019
@@ -2397,7 +2397,8 @@ LedgerTxnRoot::Impl::getBestOffer(Asset const& buying, Asset const& selling,
prefetch(toPrefetch);

cached->allLoaded =
std::distance(newOfferIter, offers.cend()) < BATCH_SIZE;
static_cast<size_t>(std::distance(newOfferIter, offers.cend())) <
Copy link
Contributor

Choose a reason for hiding this comment

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

Exactly the same thing appears on line 2310. Is there no warning there?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

interestingly it wasn't... regardless, I fixed the other call site to be consistent

@MonsieurNicolas
Copy link
Contributor Author

@jonjove updated

@jonjove
Copy link
Contributor

jonjove commented Nov 20, 2019

r+ abcfe2c

latobarita added a commit that referenced this pull request Nov 20, 2019
Windows build fixes

Reviewed-by: jonjove
@latobarita latobarita merged commit abcfe2c into stellar:master Nov 21, 2019
v12.2.0 automation moved this from In progress to Done Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v12.2.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants