diff options
author | clang-format-7.0.1 <adam.martin@10gen.com> | 2019-07-26 18:20:35 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-07-27 11:02:23 -0400 |
commit | 134a4083953270e8a11430395357fb70a29047ad (patch) | |
tree | dd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /src/mongo/unittest/system_resource_canary_bm.cpp | |
parent | 1e46b5049003f427047e723ea5fab15b5a9253ca (diff) | |
download | mongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz |
SERVER-41772 Apply clang-format 7.0.1 to the codebase
Diffstat (limited to 'src/mongo/unittest/system_resource_canary_bm.cpp')
-rw-r--r-- | src/mongo/unittest/system_resource_canary_bm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/unittest/system_resource_canary_bm.cpp b/src/mongo/unittest/system_resource_canary_bm.cpp index f2f09bc162b..945b46b7b22 100644 --- a/src/mongo/unittest/system_resource_canary_bm.cpp +++ b/src/mongo/unittest/system_resource_canary_bm.cpp @@ -94,7 +94,7 @@ class CacheLatencyTest : public benchmark::Fixture { // Fixture for CPU Cache and RAM latency test. Adapted from lmbench's lat_mem_rd test. public: // Array of pointers used as a linked list. - std::unique_ptr<char* []> data; + std::unique_ptr<char*[]> data; void SetUp(benchmark::State& state) override { if (state.thread_index == 0) { @@ -107,7 +107,7 @@ public: const int arrLength = state.range(0); int counter = 0; - data = std::make_unique<char* []>(arrLength); + data = std::make_unique<char*[]>(arrLength); char** arr = data.get(); |