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/12/02 17:56:58 UTC
[04/14] git commit: Removed Owned from stout.
Removed Owned from stout.
From: Jie Yu <yu...@gmail.com>
Review: https://reviews.apache.org/r/15837
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1e842bc0
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1e842bc0
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1e842bc0
Branch: refs/heads/master
Commit: 1e842bc0d21a3879c7d9d5684f2faa0a1a9aa39c
Parents: 6e251cc
Author: Benjamin Hindman <be...@gmail.com>
Authored: Sun Dec 1 15:53:26 2013 -0800
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Sun Dec 1 15:53:26 2013 -0800
----------------------------------------------------------------------
3rdparty/libprocess/3rdparty/stout/Makefile.am | 1 -
.../3rdparty/stout/include/stout/owned.hpp | 20 --------------------
2 files changed, 21 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/1e842bc0/3rdparty/libprocess/3rdparty/stout/Makefile.am
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/Makefile.am b/3rdparty/libprocess/3rdparty/stout/Makefile.am
index 47e8dbb..451e614 100644
--- a/3rdparty/libprocess/3rdparty/stout/Makefile.am
+++ b/3rdparty/libprocess/3rdparty/stout/Makefile.am
@@ -47,7 +47,6 @@ EXTRA_DIST = \
include/stout/os/signals.hpp \
include/stout/os/pstree.hpp \
include/stout/os/sysctl.hpp \
- include/stout/owned.hpp \
include/stout/path.hpp \
include/stout/preprocessor.hpp \
include/stout/proc.hpp \
http://git-wip-us.apache.org/repos/asf/mesos/blob/1e842bc0/3rdparty/libprocess/3rdparty/stout/include/stout/owned.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/owned.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/owned.hpp
deleted file mode 100644
index 3433f50..0000000
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/owned.hpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef __STOUT_OWNED_HPP__
-#define __STOUT_OWNED_HPP__
-
-#include <boost/shared_ptr.hpp>
-
-// Represents a uniquely owned pointer.
-//
-// TODO(bmahler): For now, Owned only provides shared_ptr semantics.
-// When we make the switch to C++11, we will change to provide
-// unique_ptr semantics. Consequently, each usage of Owned that
-// invoked a copy will have to be adjusted to use move semantics.
-template <typename T>
-class Owned : public boost::shared_ptr<T>
-{
-public:
- Owned(T* t) : boost::shared_ptr<T>(t) {}
-};
-
-
-#endif // __STOUT_OWNED_HPP__