SERVER-1452 StringData-ing up, c_str()-ing down

This commit is contained in:
Alberto Lerner
2010-08-18 18:12:31 -04:00
parent 3a455a39ab
commit 7a7cc4adfa
17 changed files with 43 additions and 51 deletions

View File

@@ -74,7 +74,7 @@ namespace mongo {
builder.appendDate( fieldName , Date_t((unsigned long long)getNumber( scopeName )) );
break;
case Code:
builder.appendCode( fieldName , getString( scopeName ).c_str() );
builder.appendCode( fieldName , getString( scopeName ) );
break;
default:
stringstream temp;