Modifies 23c708f72a to use the NONCOPYABLE macro as suggested by leper.

This was SVN commit r15626.
This commit is contained in:
Yves
2014-08-09 21:16:25 +00:00
parent 23c708f72a
commit 8593825eee
+2 -3
View File
@@ -78,6 +78,8 @@ class CDebuggingServer;
*/
class ScriptInterface
{
NONCOPYABLE(ScriptInterface);
public:
/**
@@ -404,9 +406,6 @@ public:
private:
// Prevent copying of ScriptInterface objects.
ScriptInterface(const ScriptInterface&) {};
bool CallFunction_(JS::HandleValue val, const char* name, uint argc, jsval* argv, JS::MutableHandleValue ret);
bool Eval_(const char* code, JS::MutableHandleValue ret);
bool Eval_(const wchar_t* code, JS::MutableHandleValue ret);