summaryrefslogtreecommitdiff
path: root/examples/Reactor/Dgram/Dgram.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-01 03:21:36 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-01 03:21:36 +0000
commit056208790b3d2de004dfcb2f660df7813d313bf6 (patch)
tree74183c428c0b9439060c7a31725ccb16de930c0a /examples/Reactor/Dgram/Dgram.cpp
parentbd6d731d92121354dde4efcae9583d19542d682c (diff)
downloadATCD-056208790b3d2de004dfcb2f660df7813d313bf6.tar.gz
(handle_close): added ACE_UNUSED_ARG (handle)
Diffstat (limited to 'examples/Reactor/Dgram/Dgram.cpp')
-rw-r--r--examples/Reactor/Dgram/Dgram.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/Reactor/Dgram/Dgram.cpp b/examples/Reactor/Dgram/Dgram.cpp
index fa27ac60b1e..33e306c4af4 100644
--- a/examples/Reactor/Dgram/Dgram.cpp
+++ b/examples/Reactor/Dgram/Dgram.cpp
@@ -22,7 +22,7 @@ public:
virtual int handle_timeout (const ACE_Time_Value & tv,
const void *arg = 0);
virtual int handle_close (ACE_HANDLE handle,
- ACE_Reactor_Mask close_mask);
+ ACE_Reactor_Mask close_mask);
int send (const char *buf, size_t len, const ACE_INET_Addr &);
// Send the <buf> to the peer.
@@ -53,6 +53,8 @@ int
Dgram_Endpoint::handle_close (ACE_HANDLE handle,
ACE_Reactor_Mask)
{
+ ACE_UNUSED_ARG (handle);
+
this->endpoint_.close ();
return 0;
}