You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2015/12/22 11:39:44 UTC

mesos git commit: Applied consistent number style in c++ styleguide.

Repository: mesos
Updated Branches:
  refs/heads/master 9ae49b7f0 -> d91fbec98


Applied consistent number style in c++ styleguide.

Review: https://reviews.apache.org/r/40293/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d91fbec9
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d91fbec9
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d91fbec9

Branch: refs/heads/master
Commit: d91fbec9845e9f7b66de6c6ae6398f6f38e2d226
Parents: 9ae49b7
Author: Joerg Schad <jo...@mesosphere.io>
Authored: Tue Dec 22 11:38:56 2015 +0100
Committer: Bernd Mathiske <be...@mesosphere.io>
Committed: Tue Dec 22 11:38:56 2015 +0100

----------------------------------------------------------------------
 docs/c++-style-guide.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/d91fbec9/docs/c++-style-guide.md
----------------------------------------------------------------------
diff --git a/docs/c++-style-guide.md b/docs/c++-style-guide.md
index 7f5e519..c045a8d 100644
--- a/docs/c++-style-guide.md
+++ b/docs/c++-style-guide.md
@@ -72,13 +72,13 @@ driver.acceptOffers({offer.id()},
 
 ### Class Format
 * Access modifiers are not indented (Google uses one space indentation).
-* Constructor initializers are indented by 2 spaces (Google indents by 4).
+* Constructor initializers are indented by two spaces (Google indents by four).
 
 ### Templates
 * Leave one space after the `template` keyword, e.g. `template <typename T>` rather than `template<typename T>`.
 
 ### Function Definition/Invocation
-* Newline when calling or defining a function: indent with 4 spaces.
+* Newline when calling or defining a function: indent with four spaces.
 * We do not follow Google's style of wrapping on the open parenthesis, the general goal is to reduce visual "jaggedness" in the code. Prefer (1), (4), (5), sometimes (3), never (2):
 
 ~~~{.cpp}
@@ -113,7 +113,7 @@ allocator->resourcesRecovered(
 ~~~
 
 ### Continuation
-* Newline for an assignment statement: indent with 2 spaces.
+* Newline for an assignment statement: indent with two spaces.
 
 ~~~{.cpp}
 Try<Duration> failoverTimeout =