Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix: fix a compile error on clang (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Jun 3, 2021
1 parent 71ff34d commit 7ccb58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replica/replica_stub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2208,7 +2208,7 @@ void replica_stub::register_ctrl_command()
{"replica.get-tcmalloc-status"},
"replica.get-tcmalloc-status",
"replica.get-tcmalloc-status - get status of tcmalloc",
[this](const std::vector<std::string> &args) {
[](const std::vector<std::string> &args) {
char buf[4096];
MallocExtension::instance()->GetStats(buf, 4096);
return std::string(buf);
Expand Down

0 comments on commit 7ccb58e

Please sign in to comment.