summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp b/TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp
index 540b0e2ebd3..600905ee3ce 100644
--- a/TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp
+++ b/TAO/tests/Portable_Interceptors/Dynamic/test_i.cpp
@@ -4,7 +4,6 @@ Visual_i::Visual_i (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb))
{
}
- // ctor
void
Visual_i::normal (CORBA::Long arg,
@@ -23,9 +22,9 @@ Visual_i::calculate (CORBA::Long one,
}
Test_Interceptors::Visual::VarLenStruct *
-Visual_i::the_structure (void)
+Visual_i::the_structure ()
{
- Test_Interceptors::Visual::VarLenStruct * s;
+ Test_Interceptors::Visual::VarLenStruct * s = nullptr;
ACE_NEW_THROW_EX (s,
Test_Interceptors::Visual::VarLenStruct,
@@ -40,21 +39,21 @@ Visual_i::the_structure (void)
}
void
-Visual_i::user (void)
+Visual_i::user ()
{
ACE_DEBUG ((LM_DEBUG, "Visual::user, throwing Silly\n"));
throw Test_Interceptors::Silly ();
}
void
-Visual_i::system (void)
+Visual_i::system ()
{
ACE_DEBUG ((LM_DEBUG, "Visual::user, throwing INV_OBJREF\n"));
throw CORBA::INV_OBJREF ();
}
void
-Visual_i::shutdown (void)
+Visual_i::shutdown ()
{
this->orb_->shutdown ();
}