Skip to content

Commit

Permalink
[fix] delete copy and move assignment operators for cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
raxyte committed Aug 5, 2023
1 parent 8875a00 commit 958bcd7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/dpp/cluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 958bcd7

Please sign in to comment.