You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2014/05/16 20:52:30 UTC

git commit: MESOS-1376: Fixed an invalid reference in the Registrar.

Repository: mesos
Updated Branches:
  refs/heads/master 4b3f3b211 -> 299fe28dc


MESOS-1376: Fixed an invalid reference in the Registrar.


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

Branch: refs/heads/master
Commit: 299fe28dc66ca9f9a72bf07205c07f1025a7981a
Parents: 4b3f3b2
Author: Benjamin Mahler <bm...@twitter.com>
Authored: Fri May 16 11:19:37 2014 -0700
Committer: Benjamin Mahler <bm...@twitter.com>
Committed: Fri May 16 11:19:37 2014 -0700

----------------------------------------------------------------------
 src/master/registrar.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/299fe28d/src/master/registrar.cpp
----------------------------------------------------------------------
diff --git a/src/master/registrar.cpp b/src/master/registrar.cpp
index ab1fb88..5c74471 100644
--- a/src/master/registrar.cpp
+++ b/src/master/registrar.cpp
@@ -230,7 +230,7 @@ Future<T> timeout(
 void fail(deque<Owned<Operation> >* operations, const string& message)
 {
   while (!operations->empty()) {
-    const Owned<Operation>& operation = operations->front();
+    Owned<Operation> operation = operations->front();
     operations->pop_front();
 
     operation->fail(message);