summaryrefslogtreecommitdiff
path: root/tools/restore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/restore.cpp')
-rw-r--r--tools/restore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/restore.cpp b/tools/restore.cpp
index aa36b901ce1..56e360a1699 100644
--- a/tools/restore.cpp
+++ b/tools/restore.cpp
@@ -95,7 +95,7 @@ public:
while ( read < mmf.length() ) {
BSONObj o( data );
- _conn.insert( ns.c_str() , o );
+ conn().insert( ns.c_str() , o );
read += o.objsize();
data += o.objsize();