mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-12 15:10:30 +00:00
Fix compilation on some old C++11 standard libraries.
This commit is contained in:
parent
250ae11f74
commit
e88c88c310
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user