diff --git a/include/dpp/cluster.h b/include/dpp/cluster.h index 67cc3b8319..fcad4426be 100644 --- a/include/dpp/cluster.h +++ b/include/dpp/cluster.h @@ -232,6 +232,16 @@ class DPP_EXPORT cluster { */ cluster(const cluster&&) = delete; + /** + * @brief dpp::cluster is non-copyable + */ + cluster& operator=(const cluster&) = delete; + + /** + * @brief dpp::cluster is non-moveable + */ + cluster& operator=(const cluster&&) = delete; + /** * @brief Destroy the cluster object */