diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-01-19 22:22:32 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-01-19 22:22:32 -0500 |
commit | 5a9013d3ccc3d034251055eccc5eb313eb671cd0 (patch) | |
tree | e0846796a53127749fd6e1eff83778c916421ba4 | |
parent | 80076622e1de6b3100b43da5de30399097602458 (diff) | |
download | mongo-5a9013d3ccc3d034251055eccc5eb313eb671cd0.tar.gz |
namespace issue (for bad c++ compilers)
-rw-r--r-- | util/sock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sock.h b/util/sock.h index 72ce39674e2..45607385e94 100644 --- a/util/sock.h +++ b/util/sock.h @@ -87,9 +87,9 @@ namespace mongo { inline void closesocket(int s) { // never wait for socket to close #ifdef _WIN32 - boost::thread(bind(::closesocket, s)); + boost::thread(boost::bind(::closesocket, s)); #else - boost::thread(bind(::close, s)); + boost::thread(boost::bind(::close, s)); #endif } |