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

[stmt.if] Balance brackets and fix indentation. #786

Merged
merged 1 commit into from Jul 9, 2016

Conversation

Eelis
Copy link
Contributor

@Eelis Eelis commented Jul 2, 2016

No description provided.

@@ -276,7 +276,7 @@
template<typename T, typename ... Rest> void g(T&& p, Rest&& ...rs) {
// ... handle \tcode{p}

if constexpr (sizeof...(rs) > 0)
if constexpr (sizeof...(rs) > 0) {
Copy link
Contributor

@tkoeppe tkoeppe Jul 2, 2016

Choose a reason for hiding this comment

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

No, this isn't right; the closing brace matches the opening brace on line 276. It's the indent of what follows that's wrong, and the brace on line 293 is extraneous. See P0292R2.

@Eelis
Copy link
Contributor Author

Eelis commented Jul 2, 2016

Ah ok, re-pushed

@tkoeppe
Copy link
Contributor

tkoeppe commented Jul 2, 2016

Thanks. Can you please update the commit message?

@Eelis
Copy link
Contributor Author

Eelis commented Jul 2, 2016

Done :)

@tkoeppe
Copy link
Contributor

tkoeppe commented Jul 6, 2016

Can you please rebase, and also change the PR title to match the commit?

@Eelis Eelis changed the title [stmt.if] Add missing curly bracket. [stmt.if] Balance brackets and fix indentation. Jul 6, 2016
@Eelis
Copy link
Contributor Author

Eelis commented Jul 6, 2016

Done

@zygoloid zygoloid merged commit 4f46b45 into cplusplus:master Jul 9, 2016
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.

None yet

3 participants