summaryrefslogtreecommitdiff
path: root/ace/SString.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SString.i')
-rw-r--r--ace/SString.i68
1 files changed, 1 insertions, 67 deletions
diff --git a/ace/SString.i b/ace/SString.i
index 8e7157da963..46b33d7541d 100644
--- a/ace/SString.i
+++ b/ace/SString.i
@@ -10,7 +10,7 @@ ACE_CString::ACE_CString (ACE_Allocator *alloc)
: allocator_ (alloc ? alloc : ACE_Allocator::instance ()),
len_ (0),
buf_len_ (0),
- rep_ (&ACE_CString::NULL_CString_),
+ rep_ (0),
release_ (0)
{
ACE_TRACE ("ACE_CString::ACE_CString");
@@ -684,69 +684,3 @@ ACE_WString::hash (void) const
{
return ACE::hash_pjw (this->rep_);
}
-
-// ****************************************************************
-
-ACE_INLINE
-ACE_Auto_String_Free::ACE_Auto_String_Free (char* p)
- : p_ (p)
-{
-}
-
-ACE_INLINE
-ACE_Auto_String_Free::ACE_Auto_String_Free (ACE_Auto_String_Free& rhs)
- : p_ (rhs.p_)
-{
- rhs.p_ = 0;
-}
-
-ACE_INLINE void
-ACE_Auto_String_Free::reset (char* p)
-{
- if (this->p_ != 0)
- ACE_OS::free (this->p_);
- this->p_ = p;
-}
-
-ACE_INLINE ACE_Auto_String_Free&
-ACE_Auto_String_Free::operator= (ACE_Auto_String_Free& rhs)
-{
- if (this != &rhs)
- {
- this->reset (rhs.p_);
- rhs.p_ = 0;
- }
- return *this;
-}
-
-ACE_INLINE
-ACE_Auto_String_Free::~ACE_Auto_String_Free (void)
-{
- this->reset (0);
-}
-
-ACE_INLINE char*
-ACE_Auto_String_Free::operator* (void) const
-{
- return this->p_;
-}
-
-ACE_INLINE char
-ACE_Auto_String_Free::operator[] (int i) const
-{
- return this->p_[i];
-}
-
-ACE_INLINE char*
-ACE_Auto_String_Free::get (void) const
-{
- return this->p_;
-}
-
-ACE_INLINE char*
-ACE_Auto_String_Free::release (void)
-{
- char* p = this->p_;
- this->p_ = 0;
- return p;
-}