mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 16:52:46 +01:00
gl_shader_decompiler: Make ExprDecompiler's GetResult() a const member function
This is only ever used to read, but not write, the resulting string, so we can enforce this by making it a const member function.
This commit is contained in:
parent
67df3f7742
commit
4f16ce9294
1 changed files with 1 additions and 1 deletions
|
@ -2335,7 +2335,7 @@ public:
|
|||
inner += expr.value ? "true" : "false";
|
||||
}
|
||||
|
||||
std::string& GetResult() {
|
||||
const std::string& GetResult() const {
|
||||
return inner;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue