summaryrefslogtreecommitdiff
path: root/src/mongo/transport/service_state_machine.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2017-08-24 13:18:10 -0400
committerAndrew Morrow <acm@mongodb.com>2017-08-29 17:46:12 -0400
commitb47d1bd254d543a8880ac226ea7daa2d4e2b0967 (patch)
tree981ad565b1ad2d6c9b47660bf28480bab310957f /src/mongo/transport/service_state_machine.h
parentc0c28f5663d232c67949ba3c6a5536c50018d0d0 (diff)
downloadmongo-b47d1bd254d543a8880ac226ea7daa2d4e2b0967.tar.gz
SERVER-13825 Close connections for which we can't allocate a thread
Diffstat (limited to 'src/mongo/transport/service_state_machine.h')
-rw-r--r--src/mongo/transport/service_state_machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/transport/service_state_machine.h b/src/mongo/transport/service_state_machine.h
index f5b38d2478a..0e3181f92b9 100644
--- a/src/mongo/transport/service_state_machine.h
+++ b/src/mongo/transport/service_state_machine.h
@@ -55,8 +55,8 @@ class ServiceStateMachine : public std::enable_shared_from_this<ServiceStateMach
ServiceStateMachine& operator=(ServiceStateMachine&) = delete;
public:
- ServiceStateMachine(ServiceStateMachine&&) = default;
- ServiceStateMachine& operator=(ServiceStateMachine&&) = default;
+ ServiceStateMachine(ServiceStateMachine&&) = delete;
+ ServiceStateMachine& operator=(ServiceStateMachine&&) = delete;
/*
* Creates a new ServiceStateMachine for a given session/service context. If sync is true,