Skip to content

Commit

Permalink
[mycpp/runtime] Fix API for BumpLeakHeap
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed Aug 23, 2023
1 parent 538378f commit 18f1d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mycpp/bump_leak_heap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void BumpLeakHeap::CleanProcessExit() {
PrintStats(STDERR_FILENO);
}

void BumpLeakHeap::FastProcessExit() {
void BumpLeakHeap::ProcessExit() {
PrintStats(STDERR_FILENO);
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion mycpp/bump_leak_heap.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class BumpLeakHeap {
void PrintStats(int fd);

void CleanProcessExit();
void FastProcessExit();
void ProcessExit();

bool is_initialized_ = true; // mark/sweep doesn't need to be initialized

Expand Down

0 comments on commit 18f1d56

Please sign in to comment.