Fix compilation on some old C++11 standard libraries.

This commit is contained in:
Corentin Wallez 2017-01-18 17:22:19 -05:00
parent 250ae11f74
commit e88c88c310

View File

@ -1569,7 +1569,7 @@ void CompilerGLSL::strip_enclosed_expression(string &expr)
return;
}
}
expr.pop_back();
expr.erase(expr.size() - 1, 1);
expr.erase(begin(expr));
}