summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authentication_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/auth/authentication_session.h')
-rw-r--r--src/mongo/db/auth/authentication_session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/auth/authentication_session.h b/src/mongo/db/auth/authentication_session.h
index 5eceeedff09..a7d5e779828 100644
--- a/src/mongo/db/auth/authentication_session.h
+++ b/src/mongo/db/auth/authentication_session.h
@@ -31,7 +31,6 @@
#include <memory>
-#include "mongo/base/disallow_copying.h"
#include "mongo/db/auth/sasl_mechanism_registry.h"
namespace mongo {
@@ -42,7 +41,8 @@ class Client;
* Type representing an ongoing authentication session.
*/
class AuthenticationSession {
- MONGO_DISALLOW_COPYING(AuthenticationSession);
+ AuthenticationSession(const AuthenticationSession&) = delete;
+ AuthenticationSession& operator=(const AuthenticationSession&) = delete;
public:
explicit AuthenticationSession(std::unique_ptr<ServerMechanismBase> mech)