summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2010-01-19 22:22:32 -0500
committerMathias Stearn <mathias@10gen.com>2010-01-19 22:22:32 -0500
commit5a9013d3ccc3d034251055eccc5eb313eb671cd0 (patch)
treee0846796a53127749fd6e1eff83778c916421ba4
parent80076622e1de6b3100b43da5de30399097602458 (diff)
downloadmongo-5a9013d3ccc3d034251055eccc5eb313eb671cd0.tar.gz
namespace issue (for bad c++ compilers)
-rw-r--r--util/sock.h4
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
}