summaryrefslogtreecommitdiff
path: root/bson/bsonelement.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2010-04-21 15:09:28 -0400
committerDwight <dmerriman@gmail.com>2010-04-21 15:09:28 -0400
commitc0081cc3c54c630190e29f9dca5d3259bfb850b5 (patch)
treef706c5420178d5f0c7ea61ad7ba7457d64a0a094 /bson/bsonelement.h
parent4c709a735a2a0d9561cf5c3804664cdb9270598e (diff)
downloadmongo-c0081cc3c54c630190e29f9dca5d3259bfb850b5.tar.gz
inline
Diffstat (limited to 'bson/bsonelement.h')
-rw-r--r--bson/bsonelement.h2
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;