summaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-09-12 22:16:01 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-09-14 06:58:17 +0000
commit755b6913407613821fb47fac95592930612add4b (patch)
tree702738d8426016c972acded228ce3d9288c7c151 /metrics
parentaf61fbd1a0b8ea6867ea662111edd3fbe53205cb (diff)
Reduce boost::noncopyable exposure.
Diffstat (limited to 'metrics')
-rw-r--r--metrics/src/vespa/metrics/namehash.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/metrics/src/vespa/metrics/namehash.h b/metrics/src/vespa/metrics/namehash.h
index 9a281e39111..21cb9bdeedb 100644
--- a/metrics/src/vespa/metrics/namehash.h
+++ b/metrics/src/vespa/metrics/namehash.h
@@ -20,18 +20,19 @@
*/
#pragma once
-#include <boost/utility.hpp>
#include <vespa/metrics/memoryconsumption.h>
#include <vespa/vespalib/stllike/hash_set.h>
namespace metrics {
-class NameHash : private boost::noncopyable {
+class NameHash {
vespalib::hash_set<std::string> _hash;
uint32_t _unifiedCounter;
uint32_t _checkedCounter;
public:
+ NameHash(const NameHash &) = delete;
+ NameHash & operator = (const NameHash &) = delete;
NameHash() : _unifiedCounter(0), _checkedCounter(0) {}
void updateName(std::string& name) {