mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 05:35:46 +00: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
eb9ca6f6a1
commit
4ef3c0158a
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…
Add table
Add a link
Reference in a new issue