summaryrefslogtreecommitdiffstats
path: root/vdslib
diff options
context:
space:
mode:
Diffstat (limited to 'vdslib')
-rw-r--r--vdslib/src/vespa/vdslib/state/cluster_state_bundle.cpp5
-rw-r--r--vdslib/src/vespa/vdslib/state/cluster_state_bundle.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/vdslib/src/vespa/vdslib/state/cluster_state_bundle.cpp b/vdslib/src/vespa/vdslib/state/cluster_state_bundle.cpp
index ff633c02fad..198ef4e54d1 100644
--- a/vdslib/src/vespa/vdslib/state/cluster_state_bundle.cpp
+++ b/vdslib/src/vespa/vdslib/state/cluster_state_bundle.cpp
@@ -31,6 +31,11 @@ ClusterStateBundle::ClusterStateBundle(const ClusterState& baselineClusterState,
{
}
+ClusterStateBundle::ClusterStateBundle(const ClusterStateBundle&) = default;
+ClusterStateBundle& ClusterStateBundle::operator=(const ClusterStateBundle&) = default;
+ClusterStateBundle::ClusterStateBundle(ClusterStateBundle&&) = default;
+ClusterStateBundle& ClusterStateBundle::operator=(ClusterStateBundle&&) = default;
+
ClusterStateBundle::~ClusterStateBundle() = default;
const std::shared_ptr<const lib::ClusterState> &
diff --git a/vdslib/src/vespa/vdslib/state/cluster_state_bundle.h b/vdslib/src/vespa/vdslib/state/cluster_state_bundle.h
index d0b052766ff..1502335f030 100644
--- a/vdslib/src/vespa/vdslib/state/cluster_state_bundle.h
+++ b/vdslib/src/vespa/vdslib/state/cluster_state_bundle.h
@@ -33,6 +33,12 @@ public:
ClusterStateBundle(const ClusterState& baselineClusterState,
BucketSpaceStateMapping derivedBucketSpaceStates,
bool deferredActivation);
+
+ ClusterStateBundle(const ClusterStateBundle&);
+ ClusterStateBundle& operator=(const ClusterStateBundle&);
+ ClusterStateBundle(ClusterStateBundle&&);
+ ClusterStateBundle& operator=(ClusterStateBundle&&);
+
~ClusterStateBundle();
const std::shared_ptr<const ClusterState> &getBaselineClusterState() const;
const std::shared_ptr<const ClusterState> &getDerivedClusterState(document::BucketSpace bucketSpace) const;