Skip to content

Commit ae9ddf7

Browse files
committed
No need to override the assignment/constructors anymore since no more intrusiveness
1 parent 2848d2e commit ae9ddf7

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/app/server-cluster/DefaultServerCluster.h

-6
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ class DefaultServerCluster : public ServerClusterInterface
3838
DefaultServerCluster();
3939
~DefaultServerCluster() override = default;
4040

41-
DefaultServerCluster(DefaultServerCluster && other) = default;
42-
DefaultServerCluster & operator=(DefaultServerCluster && other) = default;
43-
44-
DefaultServerCluster(const DefaultServerCluster & other) = delete;
45-
DefaultServerCluster & operator=(const DefaultServerCluster & other) = delete;
46-
4741
void IncreaseDataVersion() { mDataVersion++; }
4842

4943
//////////////////////////// ServerClusterInterface implementation ////////////////////////////////////////

src/app/server-cluster/ServerClusterInterface.h

-7
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,8 @@ namespace app {
4040
class ServerClusterInterface
4141
{
4242
public:
43-
ServerClusterInterface() = default;
4443
virtual ~ServerClusterInterface() = default;
4544

46-
ServerClusterInterface(ServerClusterInterface && other) = default;
47-
ServerClusterInterface & operator=(ServerClusterInterface && other) = default;
48-
49-
ServerClusterInterface(const ServerClusterInterface & other) = delete;
50-
ServerClusterInterface & operator=(const ServerClusterInterface & other) = delete;
51-
5245
///////////////////////////////////// Cluster Metadata Support //////////////////////////////////////////////////
5346
[[nodiscard]] virtual ClusterId GetClusterId() const = 0;
5447

0 commit comments

Comments
 (0)