summaryrefslogtreecommitdiff
path: root/src/mongo/db/introspect.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-03-30 16:12:01 -0400
committerEliot Horowitz <eliot@10gen.com>2012-03-30 16:12:27 -0400
commit1097dd796e624103023a69bc4347dabc8198e91e (patch)
tree52593f20878d243a3d50dc652495d736fa8dd002 /src/mongo/db/introspect.cpp
parentaa161911ee890e16ba42a6d9ef4134019ccc15a6 (diff)
downloadmongo-1097dd796e624103023a69bc4347dabc8198e91e.tar.gz
make fields in Record private
step towards more PageFaultException work
Diffstat (limited to 'src/mongo/db/introspect.cpp')
-rw-r--r--src/mongo/db/introspect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/introspect.cpp b/src/mongo/db/introspect.cpp
index fd80d6f8f10..8abdc68bffe 100644
--- a/src/mongo/db/introspect.cpp
+++ b/src/mongo/db/introspect.cpp
@@ -74,7 +74,7 @@ namespace mongo {
if( d ) {
int len = p.objsize();
Record *r = theDataFileMgr.fast_oplog_insert(d, ns, len);
- memcpy(getDur().writingPtr(r->data, len), p.objdata(), len);
+ memcpy(getDur().writingPtr(r->data(), len), p.objdata(), len);
}
else {
static time_t last;