Skip to content

Utility: more argv const in Arguments::parse#142

Merged
mosra merged 1 commit intomosra:masterfrom
sthalik:pr/parse-argv-const
Jun 11, 2022
Merged

Utility: more argv const in Arguments::parse#142
mosra merged 1 commit intomosra:masterfrom
sthalik:pr/parse-argv-const

Conversation

@sthalik
Copy link
Copy Markdown
Contributor

@sthalik sthalik commented Jun 11, 2022

No description provided.

@sthalik sthalik force-pushed the pr/parse-argv-const branch from 77b1d14 to 82ee618 Compare June 11, 2022 10:08
Comment thread src/Corrade/Utility/Arguments.h Outdated
bool tryParse(int argc, const char* const* argv);

/** @overload */
bool tryParse(int argc, char** argv) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Can you drop these as well? Thank you! 😊

@mosra mosra added this to the 2022.0a milestone Jun 11, 2022
@sthalik sthalik force-pushed the pr/parse-argv-const branch from 82ee618 to a7da501 Compare June 11, 2022 10:13
@mosra mosra merged commit e616d62 into mosra:master Jun 11, 2022
@mosra
Copy link
Copy Markdown
Owner

mosra commented Jun 11, 2022

PR with a net negative line count is never bad :D Thank you.

Now I need to look where else I forgot to realize const char* const* is a thing,

@sthalik sthalik deleted the pr/parse-argv-const branch November 11, 2022 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants