diff options
Diffstat (limited to 'src/mongo/util/allocator.h')
-rw-r--r-- | src/mongo/util/allocator.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mongo/util/allocator.h b/src/mongo/util/allocator.h index ee3edf05b80..9e9b8f5f45e 100644 --- a/src/mongo/util/allocator.h +++ b/src/mongo/util/allocator.h @@ -33,16 +33,16 @@ namespace mongo { - /** - * Wrapper around std::malloc(). - * If std::malloc() fails, reports error with stack trace and exit. - */ - void* mongoMalloc(size_t size); +/** + * Wrapper around std::malloc(). + * If std::malloc() fails, reports error with stack trace and exit. + */ +void* mongoMalloc(size_t size); - /** - * Wrapper around std::realloc(). - * If std::realloc() fails, reports error with stack trace and exit. - */ - void* mongoRealloc(void* ptr, size_t size); +/** + * Wrapper around std::realloc(). + * If std::realloc() fails, reports error with stack trace and exit. + */ +void* mongoRealloc(void* ptr, size_t size); -} // namespace mongo +} // namespace mongo |