diff options
Diffstat (limited to 'ACE/ace/Value_Ptr.h')
-rw-r--r-- | ACE/ace/Value_Ptr.h | 5 |
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_; - }; } |