summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-09-21 20:03:32 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-09-21 20:03:32 +0000
commit0eec813fa11b2d50b645097d94fcd787f6dfdcb7 (patch)
treef9e6c876c141ba36ca7c210b4a89422175294ffd /storage
parent20961181a6daa47175c9df8bb223865421d2bfda (diff)
Remove boost::scoped_array.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/common/hostreporter/cpureporter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/src/vespa/storage/common/hostreporter/cpureporter.cpp b/storage/src/vespa/storage/common/hostreporter/cpureporter.cpp
index 5ed6d560975..d7f59e07d4e 100644
--- a/storage/src/vespa/storage/common/hostreporter/cpureporter.cpp
+++ b/storage/src/vespa/storage/common/hostreporter/cpureporter.cpp
@@ -8,8 +8,7 @@
#include <vespa/vespalib/stllike/string.h>
#include <vespa/vespalib/text/stringtokenizer.h>
#include "kernelmetrictool.h"
-
-#include <boost/array.hpp>
+#include <array>
LOG_SETUP(".cpureporter");
@@ -30,7 +29,7 @@ const vespalib::string priorityText[proprityLevels] =
struct CpuInfo {
int _cpuIndex;
- boost::array<uint64_t, proprityLevels> _usage;
+ std::array<uint64_t, proprityLevels> _usage;
CpuInfo(int index) : _cpuIndex(index) {}
uint64_t getTotalUsage() const {