X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Ftokenizer.cpp;h=595a97abc71e28402fef288be5f7c9636bc87e28;hp=bd455e3cb200408128534b6e9a235198e6d08807;hb=e9a898f;hpb=bdef3de6559629f25121de2e014383d7f773266b diff --git a/source/glsl/tokenizer.cpp b/source/glsl/tokenizer.cpp index bd455e3c..595a97ab 100644 --- a/source/glsl/tokenizer.cpp +++ b/source/glsl/tokenizer.cpp @@ -95,7 +95,7 @@ void Tokenizer::preprocess() { SetForScope > clear_tokens(next_tokens, deque()); - string::const_iterator line_end = iter; + auto line_end = iter; for(; (line_end!=source_end && *line_end!='\n'); ++line_end) ; SetForScope stop_at_line_end(source_end, line_end);