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*
parent
87b3ab9072
commit
111169928e
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue