diff options
Diffstat (limited to 'src/mongo/scripting/mozjs/proxyscope.h')
-rw-r--r-- | src/mongo/scripting/mozjs/proxyscope.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/scripting/mozjs/proxyscope.h b/src/mongo/scripting/mozjs/proxyscope.h index ddaa9c815ec..9d11a857923 100644 --- a/src/mongo/scripting/mozjs/proxyscope.h +++ b/src/mongo/scripting/mozjs/proxyscope.h @@ -63,7 +63,8 @@ class MozJSImplScope; * */ class MozJSProxyScope final : public Scope { - MONGO_DISALLOW_COPYING(MozJSProxyScope); + MozJSProxyScope(const MozJSProxyScope&) = delete; + MozJSProxyScope& operator=(const MozJSProxyScope&) = delete; /** * The FSM is fairly tight: |