diff --git a/db/db_impl.cc b/db/db_impl.cc index 88b1684be..b87f0863d 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -604,7 +604,7 @@ static void DumpMallocStats(std::string* stats) { #ifdef ROCKSDB_JEMALLOC MallocStatus mstat; const uint kMallocStatusLen = 1000000; - std::unique_ptr buf{new char[kMallocStatusLen + 1]}; + std::unique_ptr buf{new char[kMallocStatusLen + 1]}; mstat.cur = buf.get(); mstat.end = buf.get() + kMallocStatusLen; malloc_stats_print(GetJemallocStatus, &mstat, "");