From c065b6fc2a2722d0637aaa634009567ba34a1bd4 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Wed, 17 Jan 2007 03:41:23 +0000 Subject: [PATCH] Fix VC2003 compilation (hopefully). This was SVN commit r4780. --- source/scripting/ScriptGlue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/scripting/ScriptGlue.cpp b/source/scripting/ScriptGlue.cpp index 1ba2ad1119..a41293b34c 100644 --- a/source/scripting/ScriptGlue.cpp +++ b/source/scripting/ScriptGlue.cpp @@ -1485,7 +1485,7 @@ JSFunctionSpec ScriptFunctionTable[] = JSBool GetEntitySet( JSContext* UNUSED(cx), JSObject* UNUSED(obj), jsval UNUSED(argv), jsval* vp ) { - std::auto_ptr > extant = g_EntityManager.getExtant(); + std::auto_ptr > extant (g_EntityManager.getExtant()); *vp = OBJECT_TO_JSVAL( EntityCollection::Create( *extant ) );