From 09035eb1e49de3e33f3aee1059010eeeab926fef Mon Sep 17 00:00:00 2001 From: nnaka Date: Sun, 11 Mar 2018 09:35:09 -0400 Subject: [PATCH] Align comment block (#1162) --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index e317419..2db8b22 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -10514,7 +10514,7 @@ It nicely encapsulates local initialization, including cleaning up scratch varia ##### Example, bad widget x; // should be const, but: - for (auto i = 2; i <= N; ++i) { // this could be some + for (auto i = 2; i <= N; ++i) { // this could be some x += some_obj.do_something_with(i); // arbitrarily long code } // needed to initialize x // from here, x should be const, but we can't say so in code in this style