From 60afef1e858ada7709e95b500f36a995ddd29469 Mon Sep 17 00:00:00 2001 From: Dun Liang Date: Sun, 16 Sep 2018 15:00:47 +0800 Subject: [PATCH] fix code style --- paddle/fluid/memory/detail/buddy_allocator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/memory/detail/buddy_allocator.cc b/paddle/fluid/memory/detail/buddy_allocator.cc index 3c961e5040c..1af422feb83 100644 --- a/paddle/fluid/memory/detail/buddy_allocator.cc +++ b/paddle/fluid/memory/detail/buddy_allocator.cc @@ -162,8 +162,8 @@ void BuddyAllocator::Free(void* p) { } size_t BuddyAllocator::Used() { return total_used_; } -size_t BuddyAllocator::GetMinChunkSize() {return min_chunk_size_;}; -size_t BuddyAllocator::GetMaxChunkSize() {return max_chunk_size_;}; +size_t BuddyAllocator::GetMinChunkSize() { return min_chunk_size_; } +size_t BuddyAllocator::GetMaxChunkSize() { return max_chunk_size_; } void* BuddyAllocator::SystemAlloc(size_t size) { size_t index = 0; -- GitLab