Skip to content

Commit f8efcb7

Browse files
mjp41davidchisnall
authored andcommittedAug 23, 2022
Use a more portable way to access the configuration.
1 parent a19ad55 commit f8efcb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/snmalloc/override/malloc-extensions.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ using namespace snmalloc;
66

77
void get_malloc_info_v1(malloc_info_v1* stats)
88
{
9-
auto curr = StandardConfig::Backend::get_current_usage();
10-
auto peak = StandardConfig::Backend::get_peak_usage();
9+
auto curr = Alloc::Config::Backend::get_current_usage();
10+
auto peak = Alloc::Config::Backend::get_peak_usage();
1111
stats->current_memory_usage = curr;
1212
stats->peak_memory_usage = peak;
1313
}

0 commit comments

Comments
 (0)