mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
compile
This commit is contained in:
parent
6689861a0d
commit
dd6beabbbf
@ -561,6 +561,7 @@ sendmore:
|
||||
if( cmdLine.durOptions & CmdLine::DurRecoverOnly )
|
||||
return;
|
||||
|
||||
// comes after getDur().startup() because this reads from the database
|
||||
clearTmpCollections();
|
||||
|
||||
Module::initAll();
|
||||
|
@ -172,7 +172,7 @@ namespace mongoutils {
|
||||
}
|
||||
|
||||
/** remove trailing chars in place */
|
||||
inline bool stripTrailing(string& s, const char *chars) {
|
||||
inline void stripTrailing(string& s, const char *chars) {
|
||||
string::iterator i = s.end();
|
||||
while( s.begin() != i ) {
|
||||
i--;
|
||||
|
Loading…
Reference in New Issue
Block a user