Repository: mesos Updated Branches: refs/heads/master d0d15c5da -> 2d50a57cf
Fixed typos in style guide. Review: https://reviews.apache.org/r/37445 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2d50a57c Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2d50a57c Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/2d50a57c Branch: refs/heads/master Commit: 2d50a57cfcde53bf15d73bddcfd1eb000afe8f79 Parents: d0d15c5 Author: Neil Conway <[email protected]> Authored: Wed Sep 9 16:12:09 2015 -0700 Committer: Niklas Q. Nielsen <[email protected]> Committed: Wed Sep 9 16:12:09 2015 -0700 ---------------------------------------------------------------------- docs/mesos-c++-style-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/2d50a57c/docs/mesos-c++-style-guide.md ---------------------------------------------------------------------- diff --git a/docs/mesos-c++-style-guide.md b/docs/mesos-c++-style-guide.md index 9c1a00c..8793179 100644 --- a/docs/mesos-c++-style-guide.md +++ b/docs/mesos-c++-style-guide.md @@ -366,7 +366,7 @@ instance.method([]() { }); ~~~ - * Wrap capture lists indepedently of parameters, *use the same formatting as if the capture list were template parameters*: + * Wrap capture lists independently of parameters, *use the same formatting as if the capture list were template parameters*: ~~~{.cpp} // 1: OK. @@ -558,7 +558,7 @@ auto lambda = [ int array[SPAN()]; ~~~ -Const expression constructors allow object initialization at compile time provided that all the constructor arguments are `constexpr` and the constuctor body is empty, i.e. all initialization is performed in the initialization list. Classes which provide `constexpr` constructors should normally also provide `constexpr` copy constructors to allow the class to be used in the return value from a `constexpr` function. +Const expression constructors allow object initialization at compile time provided that all the constructor arguments are `constexpr` and the constructor body is empty, i.e. all initialization is performed in the initialization list. Classes which provide `constexpr` constructors should normally also provide `constexpr` copy constructors to allow the class to be used in the return value from a `constexpr` function. ~~~{.cpp} class C
