fix non osx compiler warning MINOR
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
namespace mongo {
|
||||
|
||||
int elementDirection( const BSONElement &e ) {
|
||||
double elementDirection( const BSONElement &e ) {
|
||||
if ( e.isNumber() )
|
||||
return e.number();
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user