summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-04 04:20:09 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-04 04:20:09 +0000
commitcec106bf8ecaf0165a98319455eb54fed78a0a27 (patch)
tree327fd32ad5865f188ad9db3e727c5d03c77706bf /ace
parent3f49613b57c8ac452d3109c4ae083bab09234fed (diff)
downloadATCD-cec106bf8ecaf0165a98319455eb54fed78a0a27.tar.gz
*** empty log message ***
Diffstat (limited to 'ace')
-rw-r--r--ace/Registry.cpp5
-rw-r--r--ace/Registry.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/ace/Registry.cpp b/ace/Registry.cpp
index a9faa0a1867..4559f76fe30 100644
--- a/ace/Registry.cpp
+++ b/ace/Registry.cpp
@@ -22,8 +22,7 @@
// Separator for components in a name
/* static */
-const ACE_Registry::Istring ACE_Registry::STRING_SEPARATOR = __TEXT ("\\");
-
+LPCTSTR ACE_Registry::STRING_SEPARATOR = __TEXT ("\\");
// Simple binding constructor
ACE_Registry::Binding::Binding ()
@@ -618,7 +617,7 @@ ACE_Registry::make_name (const Istring &string)
component.id_ = string.substr (last_position,
new_position - last_position);
// Skip past the seperator
- new_position += ACE_Registry::STRING_SEPARATOR.length ();
+ new_position += ACE_OS::strlen (ACE_Registry::STRING_SEPARATOR);
}
else
{
diff --git a/ace/Registry.h b/ace/Registry.h
index c03b6db0ff1..50ebe03d91d 100644
--- a/ace/Registry.h
+++ b/ace/Registry.h
@@ -55,7 +55,7 @@ public:
typedef std::vector<Name_Component> Name;
// A Name is an ordered collections of components (ids)
- static const Istring STRING_SEPARATOR;
+ static LPCTSTR STRING_SEPARATOR;
// Separator for components in a name
static Istring make_string (const Name &name);