Index: src/platform-solaris.cc |
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc |
index 392e73a08e860b39c55f7fd6601c1081138866e5..f2477eb19da239ed23a955c9eacfc41142d75bc5 100644 |
--- a/src/platform-solaris.cc |
+++ b/src/platform-solaris.cc |
@@ -328,10 +328,9 @@ static const int kMmapFdOffset = 0; |
VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { } |
-VirtualMemory::VirtualMemory(size_t size) { |
- address_ = ReserveRegion(size); |
- size_ = size; |
-} |
+ |
+VirtualMemory::VirtualMemory(size_t size) |
+ : address_(ReserveRegion(size)), size_(size) { } |
VirtualMemory::VirtualMemory(size_t size, size_t alignment) |