diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-09 11:21:55 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-09 11:21:55 +0000 |
commit | f385049cd81dacff8a3c62c4b99556798d7b41bf (patch) | |
tree | 6041e18ac05b2f8b53251e4c3814ce1673fd87e1 /ACE/ace/String_Base.h | |
parent | 2a9e92ce57787cc063f94438c45782dee24873b5 (diff) | |
download | ATCD-f385049cd81dacff8a3c62c4b99556798d7b41bf.tar.gz |
Tue Jan 9 11:21:30 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/String_Base.h')
-rw-r--r-- | ACE/ace/String_Base.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ACE/ace/String_Base.h b/ACE/ace/String_Base.h index 239019b0fae..a2c6e4009f4 100644 --- a/ACE/ace/String_Base.h +++ b/ACE/ace/String_Base.h @@ -22,7 +22,7 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "ace/String_Base_Const.h" +#include "ace/Malloc_Base.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -55,11 +55,14 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * probably doing something wrong. */ template <class CHAR> -class ACE_String_Base : public ACE_String_Base_Const +class ACE_String_Base { public: + typedef ACE_Allocator::size_type size_type; - using ACE_String_Base_Const::size_type; + /// Constant that denotes case where no such character position + /// exists. + static size_type const npos; /** * Default constructor. |