changed dbpath to std::string

This commit is contained in:
Eliot Horowitz
2009-08-11 14:29:03 -04:00
parent b208f54e5a
commit 01ff742b4e
9 changed files with 20 additions and 19 deletions

View File

@@ -290,7 +290,7 @@ namespace mongo {
/* cl - database name
path - db directory
*/
void closeClient( const char *cl, const char *path ) {
void closeClient( const char *cl, const string& path ) {
assert( database );
assert( database->name == cl );
if ( string("local") != cl ) {