Skip to content

Return references to vectors instead of copies - #396

Merged
AndrewEdmonds11 merged 1 commit into
Mu2e:mainfrom
michaelmackenzie:ReturnRefs
Aug 18, 2026
Merged

Return references to vectors instead of copies#396
AndrewEdmonds11 merged 1 commit into
Mu2e:mainfrom
michaelmackenzie:ReturnRefs

Conversation

@michaelmackenzie

Copy link
Copy Markdown
Contributor

This changes the GetXXX() return signature to be a const reference rather than a copy.

@AndrewEdmonds11
AndrewEdmonds11 self-requested a review August 17, 2026 17:55
@AndrewEdmonds11
AndrewEdmonds11 merged commit 5c31b96 into Mu2e:main Aug 18, 2026
@michaelmackenzie
michaelmackenzie deleted the ReturnRefs branch August 18, 2026 15:00
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