diff options
Diffstat (limited to 'src/mongo/util/stack_introspect.h')
-rw-r--r-- | src/mongo/util/stack_introspect.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/mongo/util/stack_introspect.h b/src/mongo/util/stack_introspect.h index c2d33d4925f..c40221d55b7 100644 --- a/src/mongo/util/stack_introspect.h +++ b/src/mongo/util/stack_introspect.h @@ -31,18 +31,17 @@ namespace mongo { - /** - * checks up call tree - * if any method on top of me is a constructor, return true - * may do internal caching - * probably slow, use with care - * if not implemented for a platform, returns false - */ - bool inConstructorChain( bool printOffending=false ); - - /** - * @return if supported on platform, compile options may still prevent it from working - */ - bool inConstructorChainSupported(); +/** + * checks up call tree + * if any method on top of me is a constructor, return true + * may do internal caching + * probably slow, use with care + * if not implemented for a platform, returns false + */ +bool inConstructorChain(bool printOffending = false); +/** + * @return if supported on platform, compile options may still prevent it from working + */ +bool inConstructorChainSupported(); } |