summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/DSI/Database_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/DSI/Database_i.cpp')
-rw-r--r--TAO/examples/POA/DSI/Database_i.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/examples/POA/DSI/Database_i.cpp b/TAO/examples/POA/DSI/Database_i.cpp
index 6d087f7dd52..7a334176ef7 100644
--- a/TAO/examples/POA/DSI/Database_i.cpp
+++ b/TAO/examples/POA/DSI/Database_i.cpp
@@ -72,14 +72,14 @@ DatabaseImpl::Entry::_is_a (CORBA::ServerRequest_ptr request,
CORBA::NVList_ptr list;
this->orb_->create_list (0, list);
- CORBA::Any any_1 (CORBA::_tc_string);
-
ACE_TRY
{
- CORBA::NamedValue_ptr named_value_1 = list->add_value ("value",
- any_1,
- CORBA::ARG_IN,
- ACE_TRY_ENV);
+ CORBA::Any any_1 (CORBA::_tc_string);
+
+ list->add_value ("value",
+ any_1,
+ CORBA::ARG_IN,
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
ACE_UNUSED_ARG (named_value_1);