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 2013/04/12 19:38:27 UTC

svn commit: r1467373 - /incubator/mesos/trunk/src/tests/utils.hpp

Author: benh
Date: Fri Apr 12 17:38:27 2013
New Revision: 1467373

URL: http://svn.apache.org/r1467373
Log:
Added DROP_PROTOBUF.

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

Modified:
    incubator/mesos/trunk/src/tests/utils.hpp

Modified: incubator/mesos/trunk/src/tests/utils.hpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/tests/utils.hpp?rev=1467373&r1=1467372&r2=1467373&view=diff
==============================================================================
--- incubator/mesos/trunk/src/tests/utils.hpp (original)
+++ incubator/mesos/trunk/src/tests/utils.hpp Fri Apr 12 17:38:27 2013
@@ -830,7 +830,7 @@ ACTION_P(SendStatusUpdateFromTaskID, sta
 
 // Forward declaration.
 template <typename T>
-process::Future<T> _FutureProtobuf(const process::Message& message);
+T _FutureProtobuf(const process::Message& message);
 
 
 template <typename T, typename From, typename To>
@@ -845,7 +845,7 @@ process::Future<T> FutureProtobuf(T t, F
 
 
 template <typename T>
-process::Future<T> _FutureProtobuf(const process::Message& message)
+T _FutureProtobuf(const process::Message& message)
 {
   T t;
   t.ParseFromString(message.body);