Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Jojo-Schmitz
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz commented Nov 6, 2025

  • reg.: 'return': conversion from 'size_t' to 'int', possible loss of data (C4267)

reg.: 'return': conversion from 'size_t' to 'int', possible loss of data (C4267)

Co-Authored-By: Casper Jeukendrup <[email protected]>
}
if (tefMeasures.at(index).isPickup) {
auto offset { offsetInMeasure(position, tefMeasures) };
if (0 <= index && 0 <= offset) {
Copy link
Member

@cbjeukendrup cbjeukendrup Nov 6, 2025

Choose a reason for hiding this comment

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

Oh wait, now we've got a new one here... Looks like we just need to remove 0 <= index &&
(same below)

auto index { measureIndex(tstart, tefMeasures) };
if (0 <= index) {
return tstart - nominalMeasureStarts.at(index);
size_t index{ measureIndex(tstart, tefMeasures) };
Copy link
Member

Choose a reason for hiding this comment

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

whitespace damage, or was it uncrustify?

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.

3 participants