Skip to content

Commit be55e5b

Browse files
committed
SERVER-11643: remove nsdetails()
1 parent 1e2175e commit be55e5b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/mongo/db/pdfile.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ namespace mongo {
7979
return &database->namespaceIndex();
8080
}
8181

82-
inline NamespaceDetails* nsdetails(const StringData& ns) {
83-
// if this faults, did you set the current db first? (Client::Context + dblock)
84-
return nsindex(ns)->details(ns);
85-
}
86-
8782
BOOST_STATIC_ASSERT( 16 == sizeof(DeletedRecord) );
8883

8984
inline BSONObj BSONObj::make(const Record* r ) {

0 commit comments

Comments
 (0)