removed use of terrible C++11 "auto" keyword from core code beause I fundamentally disagree with the fact that such a useless and overly implicit keyword even exists - *sets palana on fire but puts him out before it can do enough damage, then apologizes profusely after*

master
jp9000 2013-07-16 00:42:41 -07:00
parent 87b3ab9072
commit 111169928e
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ BOOL ShaderProcessor::ProcessShader(CTSTR input, CTSTR filename)
if(curToken[0] == '<')
EscapeLikeTheWind(TEXT(">")); //TODO: handle #include <foo> directives
String parent(filename);
auto num = parent.NumTokens('/');
int num = parent.NumTokens('/');
String loadFile = curToken.Mid(1, curToken.Length()-1);
parent.FindReplace(parent.GetTokenOffset(num-1, '/'), loadFile);