summaryrefslogtreecommitdiff
path: root/src/mongo/embedded
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r--src/mongo/embedded/index_builds_coordinator_embedded.h4
-rw-r--r--src/mongo/embedded/periodic_runner_embedded.h3
-rw-r--r--src/mongo/embedded/service_entry_point_embedded.h4
3 files changed, 6 insertions, 5 deletions
diff --git a/src/mongo/embedded/index_builds_coordinator_embedded.h b/src/mongo/embedded/index_builds_coordinator_embedded.h
index c1085f543aa..96de739be87 100644
--- a/src/mongo/embedded/index_builds_coordinator_embedded.h
+++ b/src/mongo/embedded/index_builds_coordinator_embedded.h
@@ -29,7 +29,6 @@
#pragma once
-#include "mongo/base/disallow_copying.h"
#include "mongo/db/index_builds_coordinator.h"
namespace mongo {
@@ -46,7 +45,8 @@ class ServiceContext;
* accessible via the ServiceContext.
*/
class IndexBuildsCoordinatorEmbedded : public IndexBuildsCoordinator {
- MONGO_DISALLOW_COPYING(IndexBuildsCoordinatorEmbedded);
+ IndexBuildsCoordinatorEmbedded(const IndexBuildsCoordinatorEmbedded&) = delete;
+ IndexBuildsCoordinatorEmbedded& operator=(const IndexBuildsCoordinatorEmbedded&) = delete;
public:
IndexBuildsCoordinatorEmbedded() = default;
diff --git a/src/mongo/embedded/periodic_runner_embedded.h b/src/mongo/embedded/periodic_runner_embedded.h
index 7458936414d..eca049659f6 100644
--- a/src/mongo/embedded/periodic_runner_embedded.h
+++ b/src/mongo/embedded/periodic_runner_embedded.h
@@ -62,7 +62,8 @@ public:
private:
class PeriodicJobImpl {
- MONGO_DISALLOW_COPYING(PeriodicJobImpl);
+ PeriodicJobImpl(const PeriodicJobImpl&) = delete;
+ PeriodicJobImpl& operator=(const PeriodicJobImpl&) = delete;
public:
friend class PeriodicRunnerEmbedded;
diff --git a/src/mongo/embedded/service_entry_point_embedded.h b/src/mongo/embedded/service_entry_point_embedded.h
index a4ccd94113c..0a47fd6bd56 100644
--- a/src/mongo/embedded/service_entry_point_embedded.h
+++ b/src/mongo/embedded/service_entry_point_embedded.h
@@ -29,7 +29,6 @@
#pragma once
-#include "mongo/base/disallow_copying.h"
#include "mongo/transport/service_entry_point.h"
namespace mongo {
@@ -38,7 +37,8 @@ namespace mongo {
* The entry point into mongod. Just a wrapper around assembleResponse.
*/
class ServiceEntryPointEmbedded final : public ServiceEntryPoint {
- MONGO_DISALLOW_COPYING(ServiceEntryPointEmbedded);
+ ServiceEntryPointEmbedded(const ServiceEntryPointEmbedded&) = delete;
+ ServiceEntryPointEmbedded& operator=(const ServiceEntryPointEmbedded&) = delete;
public:
ServiceEntryPointEmbedded() = default;