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/06/27 02:07:01 UTC

mesos git commit: Update default value for Socket.recv().

Repository: mesos
Updated Branches:
  refs/heads/master c75d887f9 -> dd960dfcb


Update default value for Socket.recv().

This was defaulted in the Impl, but not the interface.

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


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

Branch: refs/heads/master
Commit: dd960dfcb96409c925cbe9325f9d581f487d5b43
Parents: c75d887
Author: Joris Van Remoortere <jo...@gmail.com>
Authored: Fri Jun 26 17:06:36 2015 -0700
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Fri Jun 26 17:06:37 2015 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/include/process/socket.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/dd960dfc/3rdparty/libprocess/include/process/socket.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/socket.hpp b/3rdparty/libprocess/include/process/socket.hpp
index 96dd6f7..f53d2e1 100644
--- a/3rdparty/libprocess/include/process/socket.hpp
+++ b/3rdparty/libprocess/include/process/socket.hpp
@@ -201,7 +201,7 @@ public:
     return impl->sendfile(fd, offset, size);
   }
 
-  Future<std::string> recv(const Option<ssize_t>& size)
+  Future<std::string> recv(const Option<ssize_t>& size = None())
   {
     return impl->recv(size);
   }