summaryrefslogtreecommitdiff
path: root/ACE/ace/String_Base.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-01-10 07:56:40 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-01-10 07:56:40 +0000
commit8221a1af54033105bf60a5254b47692270b87ef0 (patch)
treeb4fc2a265480660a7be46d03aabbe6839a9e1eab /ACE/ace/String_Base.h
parent5baa19d5d6aca94a0a5b4717264a5360b22409e6 (diff)
downloadATCD-8221a1af54033105bf60a5254b47692270b87ef0.tar.gz
Wed Jan 10 07:55:04 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/String_Base.h')
-rw-r--r--ACE/ace/String_Base.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/ACE/ace/String_Base.h b/ACE/ace/String_Base.h
index a2c6e4009f4..239019b0fae 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/Malloc_Base.h"
+#include "ace/String_Base_Const.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
@@ -55,14 +55,11 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
* probably doing something wrong.
*/
template <class CHAR>
-class ACE_String_Base
+class ACE_String_Base : public ACE_String_Base_Const
{
public:
- typedef ACE_Allocator::size_type size_type;
- /// Constant that denotes case where no such character position
- /// exists.
- static size_type const npos;
+ using ACE_String_Base_Const::size_type;
/**
* Default constructor.