summaryrefslogtreecommitdiff
path: root/examples/Registry/test_registry_update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Registry/test_registry_update.cpp')
-rw-r--r--examples/Registry/test_registry_update.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/Registry/test_registry_update.cpp b/examples/Registry/test_registry_update.cpp
index 2c6dc0b1a61..5ea097cdbe9 100644
--- a/examples/Registry/test_registry_update.cpp
+++ b/examples/Registry/test_registry_update.cpp
@@ -124,22 +124,22 @@ setup_names ()
// Stupid implementation of STL is broken
/*
::application_context_name.reserve (4);
- ::application_context_name [0].id_ = "Software";
- ::application_context_name [1].id_ = "AcmeSoft";
- ::application_context_name [2].id_ = "AcmeApplication";
- ::application_context_name [3].id_ = "1.0";
+ ::application_context_name [0].id_ = __TEXT ("Software");
+ ::application_context_name [1].id_ = __TEXT ("AcmeSoft");
+ ::application_context_name [2].id_ = __TEXT ("AcmeApplication");
+ ::application_context_name [3].id_ = __TEXT ("1.0");
::counter_name.reserve (1);
- ::counter_name [0].id_ = "Instance Counter";
+ ::counter_name [0].id_ = __TEXT ("Instance Counter");
*/
ACE_Registry::Name_Component component;
- component.id_ = "Software", ::application_context_name.push_back (component);
- component.id_ = "AcmeSoft", ::application_context_name.push_back (component);
- component.id_ = "AcmeApplication", ::application_context_name.push_back (component);
- component.id_ = "1.0", ::application_context_name.push_back (component);
+ component.id_ = __TEXT ("Software"), ::application_context_name.push_back (component);
+ component.id_ = __TEXT ("AcmeSoft"), ::application_context_name.push_back (component);
+ component.id_ = __TEXT ("AcmeApplication"), ::application_context_name.push_back (component);
+ component.id_ = __TEXT ("1.0"), ::application_context_name.push_back (component);
- component.id_ = "Instance Counter", ::counter_name.push_back (component);
+ component.id_ = __TEXT ("Instance Counter"), ::counter_name.push_back (component);
}