mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-25 06:05:17 +00:00
Modifies 23c708f72a to use the NONCOPYABLE macro as suggested by leper.
This was SVN commit r15626.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user