diff options
author | Dwight <dmerriman@gmail.com> | 2010-04-21 15:09:28 -0400 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2010-04-21 15:09:28 -0400 |
commit | c0081cc3c54c630190e29f9dca5d3259bfb850b5 (patch) | |
tree | f706c5420178d5f0c7ea61ad7ba7457d64a0a094 /bson/bsonelement.h | |
parent | 4c709a735a2a0d9561cf5c3804664cdb9270598e (diff) | |
download | mongo-c0081cc3c54c630190e29f9dca5d3259bfb850b5.tar.gz |
inline
Diffstat (limited to 'bson/bsonelement.h')
-rw-r--r-- | bson/bsonelement.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bson/bsonelement.h b/bson/bsonelement.h index 73312e3bcca..afd5ce8f668 100644 --- a/bson/bsonelement.h +++ b/bson/bsonelement.h @@ -408,7 +408,7 @@ namespace mongo { } } - bool BSONElement::trueValue() const { + inline bool BSONElement::trueValue() const { switch( type() ) { case NumberLong: return *reinterpret_cast< const long long* >( value() ) != 0; |