diff options
author | Steve Huston <shuston@riverace.com> | 1999-03-18 22:09:57 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1999-03-18 22:09:57 +0000 |
commit | e4a20913e2b73a1a7bb95fb3e9a984352f7dad2f (patch) | |
tree | f84daf13dd579272af10be8a20e2a76a922fa627 /docs | |
parent | e20c8c399e7c459d771e4a1af937aa8f9d3a16f6 (diff) | |
download | ATCD-e4a20913e2b73a1a7bb95fb3e9a984352f7dad2f.tar.gz |
Renamed arg to avoid redef further in (Client_Handler::open).
Diffstat (limited to 'docs')
-rw-r--r-- | docs/tutorials/006/client_handler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/006/client_handler.cpp b/docs/tutorials/006/client_handler.cpp index 2280150ccc4..54588dcdafe 100644 --- a/docs/tutorials/006/client_handler.cpp +++ b/docs/tutorials/006/client_handler.cpp @@ -60,7 +60,7 @@ Client_Handler::destroy (void) The Client_Acceptor instance pointer is cast to a void* and given to us here. We'll use that to avoid some global data... */ int -Client_Handler::open (void *acceptor) +Client_Handler::open (void *void_acceptor) { /* We need this to store the address of the client that we are now connected to. We'll use it later to display a debug message. */ @@ -87,7 +87,7 @@ Client_Handler::open (void *acceptor) without compiler warnings be very sure of what you're doing when you do this kind of thing. That's where the new-style cast operators can save you. */ - Client_Acceptor *acceptor = (Client_Acceptor *) acceptor; + Client_Acceptor *acceptor = (Client_Acceptor *) void_acceptor; /* Our Client_Acceptor is constructed with a concurrency strategy. Here, we go back to it to find out what that strategy was. If |