summaryrefslogtreecommitdiff
path: root/ACE/ace/String_Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/String_Base.h')
-rw-r--r--ACE/ace/String_Base.h9
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.