You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2015/05/04 23:11:21 UTC

mesos git commit: Updated a missed 'socket.send' example in C++ style guide.

Repository: mesos
Updated Branches:
  refs/heads/master ed8253f40 -> e7e7c50f7


Updated a missed 'socket.send' example in C++ style guide.


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

Branch: refs/heads/master
Commit: e7e7c50f7474eb7c459b47dddfae784d7ed0d1cb
Parents: ed8253f
Author: Benjamin Mahler <be...@gmail.com>
Authored: Mon May 4 14:11:12 2015 -0700
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Mon May 4 14:11:12 2015 -0700

----------------------------------------------------------------------
 docs/mesos-c++-style-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e7e7c50f/docs/mesos-c++-style-guide.md
----------------------------------------------------------------------
diff --git a/docs/mesos-c++-style-guide.md b/docs/mesos-c++-style-guide.md
index 0bdca80..13312f6 100644
--- a/docs/mesos-c++-style-guide.md
+++ b/docs/mesos-c++-style-guide.md
@@ -203,7 +203,7 @@ Try<Owned<LocalAuthorizer>> authorizer = LocalAuthorizer::create();
     Feel free to inline lambdas within function arguments:
 
     ```
-    socket.send([]() {
+    instance.method([]() {
       ...;
     });
     ```