diff options
Diffstat (limited to 'src/mongo/db/auth/user_set.h')
-rw-r--r-- | src/mongo/db/auth/user_set.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/auth/user_set.h b/src/mongo/db/auth/user_set.h index 91941621984..b4e88f7bbd7 100644 --- a/src/mongo/db/auth/user_set.h +++ b/src/mongo/db/auth/user_set.h @@ -32,7 +32,6 @@ #include <string> #include <vector> -#include "mongo/base/disallow_copying.h" #include "mongo/base/string_data.h" #include "mongo/db/auth/authorization_manager.h" #include "mongo/db/auth/user.h" @@ -47,7 +46,8 @@ namespace mongo { * synchronizing access. */ class UserSet { - MONGO_DISALLOW_COPYING(UserSet); + UserSet(const UserSet&) = delete; + UserSet& operator=(const UserSet&) = delete; public: using iterator = stdx::list<UserHandle>::iterator; |