summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/file_allocator.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/util/file_allocator.h b/util/file_allocator.h
index f4faff9b9a1..e601863d51f 100644
--- a/util/file_allocator.h
+++ b/util/file_allocator.h
@@ -26,12 +26,15 @@
#endif
namespace mongo {
- // Handles allocation of contiguous files on disk. Allocation may be
- // requested asynchronously or synchronously.
+
+ /* Handles allocation of contiguous files on disk. Allocation may be
+ requested asynchronously or synchronously.
+ */
class FileAllocator {
- // The public functions may not be called concurrently. The allocation
- // functions may be called multiple times per file, but only the first
- // size specified per file will be used.
+ /* The public functions may not be called concurrently. The allocation
+ functions may be called multiple times per file, but only the first
+ size specified per file will be used.
+ */
public:
#if !defined(_WIN32)
FileAllocator() : failed_() {}