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

Constify and pass filename by reference in Document::InitWith(...) #572

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

tobiolo
Copy link
Collaborator

@tobiolo tobiolo commented Dec 21, 2023

The wxString is just passed further to
Document::ChangeFileName(const wxString&, bool), so just pass it by reference and constify the argument.

The wxString is just passed further to
`Document::ChangeFileName(const wxString&, bool)`,
so just pass it by reference and constify the argument.
@tobiolo tobiolo changed the title Constify and pass filename by reference Constify and pass filename by reference in Document::InitWith(...) Dec 21, 2023
@tobiolo tobiolo requested a review from aardappel December 21, 2023 21:39
@aardappel aardappel merged commit d300b78 into aardappel:master Dec 22, 2023
4 checks passed
@tobiolo tobiolo deleted the make-arg-pass-by-ref branch December 22, 2023 09:34
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.

2 participants