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/11/21 01:27:32 UTC

[3/3] mesos git commit: Fixed a bug due to missing canonicalize.

Fixed a bug due to missing canonicalize.

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


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

Branch: refs/heads/master
Commit: 455bfff6e9d7e849b78c590dbd4e1f828151c0d8
Parents: 5d2836b
Author: Jie Yu <yu...@gmail.com>
Authored: Thu Nov 20 16:21:36 2014 -0800
Committer: Jie Yu <yu...@gmail.com>
Committed: Thu Nov 20 16:21:49 2014 -0800

----------------------------------------------------------------------
 3rdparty/libprocess/include/process/delay.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/455bfff6/3rdparty/libprocess/include/process/delay.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/delay.hpp b/3rdparty/libprocess/include/process/delay.hpp
index 40627ea..be2d36b 100644
--- a/3rdparty/libprocess/include/process/delay.hpp
+++ b/3rdparty/libprocess/include/process/delay.hpp
@@ -39,7 +39,7 @@ Timer delay(const Duration& duration,
     lambda::bind(internal::dispatch,
                  pid,
                  dispatcher,
-                 internal::canonicalize(method));
+                 &typeid(method));
 
   return Clock::timer(duration, dispatch);
 }
@@ -86,7 +86,7 @@ Timer delay(const Duration& duration,
       lambda::bind(internal::dispatch,                                  \
                    pid,                                                 \
                    dispatcher,                                          \
-                   internal::canonicalize(method));                     \
+                   &typeid(method));                                    \
                                                                         \
     return Clock::timer(duration, dispatch);                            \
   }                                                                     \