You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ya...@apache.org on 2014/08/06 02:22:21 UTC

git commit: Added a trailing space to _CheckFatal's output.

Repository: mesos
Updated Branches:
  refs/heads/master 62dfd65d5 -> c581b3f3c


Added a trailing space to _CheckFatal's output.

- So there is a space between the error message and the additional message appended after the check. e.g. CHECK_SOME(None()) << "Some additional message";
- GLOG CHECK adds this space too: https://code.google.com/p/google-glog/source/browse/trunk/src/glog/logging.h.in#561

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


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

Branch: refs/heads/master
Commit: c581b3f3cf2075b1c17cded368bea73fea5464ec
Parents: 62dfd65
Author: Jiang Yan Xu <ya...@jxu.me>
Authored: Mon Aug 4 22:08:54 2014 -0700
Committer: Jiang Yan Xu <ya...@jxu.me>
Committed: Tue Aug 5 17:21:56 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/c581b3f3/3rdparty/libprocess/3rdparty/stout/include/stout/check.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/check.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/check.hpp
index 4b93aa0..4380c24 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/check.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/check.hpp
@@ -80,7 +80,7 @@ struct _CheckFatal
       : file(_file),
         line(_line)
   {
-    out << type << "(" << expression << "): " << error;
+    out << type << "(" << expression << "): " << error << " ";
   }
 
   ~_CheckFatal()