Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make Object::id() return an ObjectID since unsigned has become useless #493

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

tmadlener
Copy link
Collaborator

BEGINRELEASENOTES

ENDRELEASENOTES

Also add an ostream operator overload for ObjectID
@hegner hegner merged commit 958ae51 into AIDASoft:master Sep 29, 2023
@jmcarcell
Copy link
Member

Note that this makes comparisons between id() fail since it now returns a podio::ObjectID instead of an unsigned that doesn't implement at least some of the comparison operators

@hegner
Copy link
Collaborator

hegner commented Oct 2, 2023

Can you open a ticket for that? (currently absent from work)

@tmadlener tmadlener deleted the better-id branch November 8, 2023 12:13
wdconinc added a commit to eic/EICrecon that referenced this pull request Nov 11, 2023
…, not uint_t

This adds forward compatibility with podio v0.17.1

See AIDASoft/podio#493
wdconinc added a commit to eic/juggler that referenced this pull request Nov 11, 2023
wdconinc added a commit to eic/EICrecon that referenced this pull request Nov 11, 2023
…, not uint_t

This adds forward compatibility with podio v0.17.1

See AIDASoft/podio#493
github-merge-queue bot pushed a commit to eic/EICrecon that referenced this pull request Nov 11, 2023
…t uint_t, in podio v0.17.1 (#1106)

### Briefly, what does this PR introduce?
This adds forward compatibility with podio v0.17.1. See
AIDASoft/podio#493

### What kind of change does this PR introduce?
- [x] Bug fix (issue: compilation falures with podio 0.17.1)
- [ ] New feature (issue #__)
- [ ] Documentation update
- [ ] Other: __

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?
No.

### Does this PR change default behavior?
No. The modified algorithms are not relying on the most significant bits
in the previous ObjectID uint_t that encode the collectionID.
github-actions bot pushed a commit to eic/EICrecon that referenced this pull request Nov 14, 2023
…, not uint_t

This adds forward compatibility with podio v0.17.1

See AIDASoft/podio#493

(cherry picked from commit 8989cf7)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated id method for user facing types has become useless
3 participants