forked from 0ad/0ad
Fix VC2003 compilation (hopefully).
This was SVN commit r4780.
This commit is contained in:
parent
6cfb96855a
commit
c065b6fc2a
@ -1485,7 +1485,7 @@ JSFunctionSpec ScriptFunctionTable[] =
|
||||
|
||||
JSBool GetEntitySet( JSContext* UNUSED(cx), JSObject* UNUSED(obj), jsval UNUSED(argv), jsval* vp )
|
||||
{
|
||||
std::auto_ptr<std::vector<HEntity> > extant = g_EntityManager.getExtant();
|
||||
std::auto_ptr<std::vector<HEntity> > extant (g_EntityManager.getExtant());
|
||||
|
||||
*vp = OBJECT_TO_JSVAL( EntityCollection::Create( *extant ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user