summaryrefslogtreecommitdiff
path: root/util/message_server_asio.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2009-12-14 12:58:47 -0500
committerMathias Stearn <mathias@10gen.com>2009-12-14 17:06:10 -0500
commit82ff9097585fa701ffe5cb78e59f8d0018c9f25c (patch)
treecec8667fdef3bab7a24f88f89605f723214f95e2 /util/message_server_asio.cpp
parente006eba3385b7de4209dd5d8ddfb3aa8d1193af6 (diff)
downloadmongo-82ff9097585fa701ffe5cb78e59f8d0018c9f25c.tar.gz
readability
Diffstat (limited to 'util/message_server_asio.cpp')
-rw-r--r--util/message_server_asio.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/util/message_server_asio.cpp b/util/message_server_asio.cpp
index 7437c19c367..05e12594f6e 100644
--- a/util/message_server_asio.cpp
+++ b/util/message_server_asio.cpp
@@ -133,10 +133,11 @@ namespace mongo {
class AsyncMessageServer : public MessageServer {
public:
- AsyncMessageServer( int port , MessageHandler * handler ) :
- MessageServer( port , handler ) ,
- _endpoint( tcp::v4() , port ) ,
- _acceptor( _ioservice , _endpoint ){
+ AsyncMessageServer( int port , MessageHandler * handler )
+ : MessageServer( port , handler )
+ , _endpoint( tcp::v4() , port )
+ , _acceptor( _ioservice , _endpoint )
+ {
_accept();
}
virtual ~AsyncMessageServer(){