summaryrefslogtreecommitdiff
path: root/ACE/ace/Value_Ptr.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 11:49:28 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 11:49:28 +0100
commit3a135b20e2c3c3dd407b9b768a411645eca6a7e0 (patch)
tree71301b1d02a56c2137c4e4c1b378aea4acd139a7 /ACE/ace/Value_Ptr.h
parent199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff)
downloadATCD-3a135b20e2c3c3dd407b9b768a411645eca6a7e0.tar.gz
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/Value_Ptr.h')
-rw-r--r--ACE/ace/Value_Ptr.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ACE/ace/Value_Ptr.h b/ACE/ace/Value_Ptr.h
index f099bd6ebac..2f558b98c15 100644
--- a/ACE/ace/Value_Ptr.h
+++ b/ACE/ace/Value_Ptr.h
@@ -65,9 +65,8 @@ namespace ACE
class Value_Ptr
{
public:
-
/// Constructor.
- explicit Value_Ptr (T * p = 0) : p_ (p) { }
+ explicit Value_Ptr (T * p = 0) : p_ (p) {}
/// Destructor.
~Value_Ptr () { delete this->p_; }
@@ -117,7 +116,6 @@ namespace ACE
}
private:
-
/// Copying method invoked when copy constructing.
template <typename U>
T * create_from (U const * p) const
@@ -130,7 +128,6 @@ namespace ACE
/// Object owned by this @c Value_Ptr.
T * p_;
-
};
}