summaryrefslogtreecommitdiff
path: root/TAO/examples/Event_Comm/supplier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Event_Comm/supplier.cpp')
-rw-r--r--TAO/examples/Event_Comm/supplier.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/TAO/examples/Event_Comm/supplier.cpp b/TAO/examples/Event_Comm/supplier.cpp
index a6dd1cb8cac..3e99cd2a8f1 100644
--- a/TAO/examples/Event_Comm/supplier.cpp
+++ b/TAO/examples/Event_Comm/supplier.cpp
@@ -2,16 +2,6 @@
#include "Supplier_Input_Handler.h"
#include "supplier.h"
-Supplier::Supplier (void)
-{
- // No-Op.
-}
-
-Supplier::~Supplier (void)
-{
- // No-Op.
-}
-
int
Supplier::handle_signal (int signum, siginfo_t *, ucontext_t *)
{
@@ -24,7 +14,7 @@ Supplier::handle_signal (int signum, siginfo_t *, ucontext_t *)
}
void
-Supplier::run (void)
+Supplier::run ()
{
if (nh_.run () == -1)
ACE_ERROR ((LM_ERROR,
@@ -33,7 +23,7 @@ Supplier::run (void)
}
void
-Supplier::close (void)
+Supplier::close ()
{
ih_.close ();
nh_.close ();
@@ -70,7 +60,6 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
try
{
-
if (supplier.init (argc, argv) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
"%p\n",