VC6 doesn't seem to want to accept default parameter value for templated functions like this. Poor solution: just put in the default in the actual function call.

This commit is contained in:
Charles Lohr
2005-03-14 00:07:56 +00:00
parent a95cb42339
commit e8729a82d0
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -861,7 +861,7 @@ int LuaFunc_GetPreference( lua_State *L )
REQ_ARG( "GetPreference", 1, string );
CString sName;
LuaHelpers::PopStack( sName );
LuaHelpers::PopStack( sName, NULL );
IPreference *pPref = PREFSMAN->GetPreferenceByName( sName );
if( pPref == NULL )