diff options
author | Tor Egge <Tor.Egge@oath.com> | 2018-02-22 14:12:52 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2018-02-22 14:12:52 +0000 |
commit | ba99e208ab14f29198bb035d76aa6f6bda641c93 (patch) | |
tree | 93826b20a58f1dbfbbd6171b2aa1ddaf1edbe42e | |
parent | 6c07a0714c3c3bc4833991900fc0ae98f3db4781 (diff) |
Make ClusterStateBundle constructor explicit.
-rw-r--r-- | storage/src/vespa/storage/common/cluster_state_bundle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/common/cluster_state_bundle.h b/storage/src/vespa/storage/common/cluster_state_bundle.h index af4a12a8b3c..1072ad26596 100644 --- a/storage/src/vespa/storage/common/cluster_state_bundle.h +++ b/storage/src/vespa/storage/common/cluster_state_bundle.h @@ -17,7 +17,7 @@ class ClusterStateBundle using ClusterState = lib::ClusterState; std::shared_ptr<const ClusterState> _baselineClusterState; public: - ClusterStateBundle(const ClusterState &baselineClusterState); + explicit ClusterStateBundle(const ClusterState &baselineClusterState); ~ClusterStateBundle(); const std::shared_ptr<const ClusterState> &getBaselineClusterState() const; const std::shared_ptr<const ClusterState> &getDerivedClusterState(document::BucketSpace bucketSpace) const; |