You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2014/06/20 00:42:00 UTC

git commit: Fixed a compiler error due to ambiguous UNREACHABLE in Subprocess.

Repository: mesos
Updated Branches:
  refs/heads/master c7ed851f8 -> 1e5c9a8e8


Fixed a compiler error due to ambiguous UNREACHABLE in Subprocess.


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

Branch: refs/heads/master
Commit: 1e5c9a8e85c0ad5c42b185ec3f387109c406b1ac
Parents: c7ed851
Author: Jie Yu <yu...@gmail.com>
Authored: Thu Jun 19 15:41:27 2014 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Thu Jun 19 15:41:43 2014 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/src/subprocess.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/1e5c9a8e/3rdparty/libprocess/src/subprocess.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/subprocess.cpp b/3rdparty/libprocess/src/subprocess.cpp
index 6e2601d..6ac7b5b 100644
--- a/3rdparty/libprocess/src/subprocess.cpp
+++ b/3rdparty/libprocess/src/subprocess.cpp
@@ -131,7 +131,7 @@ Try<Subprocess> subprocess(
       break;
     }
     default:
-      return UNREACHABLE();
+      return Try<Subprocess>(UNREACHABLE());
   }
 
   // Prepare the file descriptor(s) for stdout.
@@ -170,7 +170,7 @@ Try<Subprocess> subprocess(
       break;
     }
     default:
-      return UNREACHABLE();
+      return Try<Subprocess>(UNREACHABLE());
   }
 
   // Prepare the file descriptor(s) for stderr.
@@ -209,7 +209,7 @@ Try<Subprocess> subprocess(
       break;
     }
     default:
-      return UNREACHABLE();
+      return Try<Subprocess>(UNREACHABLE());
   }
 
   // TODO(jieyu): Consider using O_CLOEXEC for atomic close-on-exec.