summaryrefslogtreecommitdiff
path: root/src/mongo/util/perfctr_collect.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-07-26 12:15:27 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-07-26 12:15:27 -0400
commitfcc3d58b5b4c9cf8da18021e30175aa66db9845b (patch)
treeec4f3a6c1c8028f65a9a1203045c388198132b58 /src/mongo/util/perfctr_collect.cpp
parent5c7470944df5e3880aabdbbf8fa231db189c30af (diff)
downloadmongo-fcc3d58b5b4c9cf8da18021e30175aa66db9845b.tar.gz
SERVER-24608 Fix lint
Diffstat (limited to 'src/mongo/util/perfctr_collect.cpp')
-rw-r--r--src/mongo/util/perfctr_collect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/perfctr_collect.cpp b/src/mongo/util/perfctr_collect.cpp
index da6667c9e77..d409f180f2d 100644
--- a/src/mongo/util/perfctr_collect.cpp
+++ b/src/mongo/util/perfctr_collect.cpp
@@ -244,7 +244,7 @@ StatusWith<PerfCounterCollector::CounterInfo> PerfCounterCollector::addCounter(S
return {ErrorCodes::WindowsPdhError, formatFunctionCallError("PdhGetCounterInfoW", status)};
}
- auto buf = std::make_unique<char[]>(bufferSize);
+ auto buf = stdx::make_unique<char[]>(bufferSize);
auto counterInfo = reinterpret_cast<PPDH_COUNTER_INFO>(buf.get());
status = PdhGetCounterInfoW(counter, false, &bufferSize, counterInfo);
@@ -306,7 +306,7 @@ StatusWith<std::vector<PerfCounterCollector::CounterInfo>> PerfCounterCollector:
<< "'"};
}
- auto buf = std::make_unique<wchar_t[]>(pathListLength);
+ auto buf = stdx::make_unique<wchar_t[]>(pathListLength);
status = PdhExpandCounterPathW(pathWide.c_str(), buf.get(), &pathListLength);