mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-25 07:13:17 +00:00
MSVC warning fixes
This was SVN commit r7580.
This commit is contained in:
@@ -18,9 +18,9 @@
|
||||
#ifndef INCLUDED_AUTOROOTERS
|
||||
#define INCLUDED_AUTOROOTERS
|
||||
|
||||
#include "js/jsapi.h"
|
||||
#include "scriptinterface/ScriptTypes.h"
|
||||
|
||||
class ScriptInterface;
|
||||
#include "js/jsapi.h"
|
||||
|
||||
// Exception-safety and GC-safety wrapper for JSIdArray
|
||||
// (TODO: it'd be nicer to use the existing js::AutoIdArray but currently that
|
||||
@@ -54,6 +54,7 @@ public:
|
||||
*/
|
||||
class AutoGCRooter
|
||||
{
|
||||
NONCOPYABLE(AutoGCRooter);
|
||||
public:
|
||||
AutoGCRooter(ScriptInterface& scriptInterface);
|
||||
~AutoGCRooter();
|
||||
|
||||
Reference in New Issue
Block a user