summaryrefslogtreecommitdiff
path: root/ace/String_Base.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-10-28 16:14:56 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-10-28 16:14:56 +0000
commit94c5b51fa8ed6e5520da2cf5def58b5c0986f072 (patch)
treec4fe2b70acf02ce19d199713fff6dec5645d8a93 /ace/String_Base.cpp
parent3720d45374c2890b3f9e86ff8ae8a3d4a60ecd29 (diff)
downloadATCD-94c5b51fa8ed6e5520da2cf5def58b5c0986f072.tar.gz
ChangeLogTag:Fri Oct 28 00:01:06 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ace/String_Base.cpp')
-rw-r--r--ace/String_Base.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/ace/String_Base.cpp b/ace/String_Base.cpp
index d5f065938d7..ec023cc6a6c 100644
--- a/ace/String_Base.cpp
+++ b/ace/String_Base.cpp
@@ -1,3 +1,5 @@
+// $Id$
+
#ifndef ACE_STRING_BASE_CPP
#define ACE_STRING_BASE_CPP
@@ -11,11 +13,7 @@
#include "ace/String_Base.inl"
#endif /* __ACE_INLINE__ */
-
-ACE_RCSID (ace,
- String_Base,
- "$Id$")
-
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_ALLOC_HOOK_DEFINE(ACE_String_Base)
@@ -353,10 +351,10 @@ template <class CHAR> int
ACE_String_Base<CHAR>::compare (const ACE_String_Base<CHAR> &s) const
{
ACE_TRACE ("ACE_String_Base<CHAR>::compare");
-
+
if (this->rep_ == s.rep_)
return 0;
-
+
// Pick smaller of the two lengths and perform the comparison.
size_t smaller_length = ace_min (this->len_, s.len_);
@@ -495,5 +493,6 @@ ACE_String_Base<CHAR>::operator+= (const CHAR c)
return this->append(&c, slen);
}
+ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_STRING_BASE_CPP */