Mark parameters as const

This commit is contained in:
David Marcec
2020-06-03 16:33:38 +10:00
parent 3a20e74f40
commit 411f5527d4
8 changed files with 11 additions and 11 deletions

View File

@ -21,7 +21,7 @@ MacroInterpreterImpl::MacroInterpreterImpl(Engines::Maxwell3D& maxwell3d,
const std::vector<u32>& code)
: maxwell3d(maxwell3d), code(code) {}
void MacroInterpreterImpl::Execute(std::vector<u32>& parameters, u32 method) {
void MacroInterpreterImpl::Execute(const std::vector<u32>& parameters, u32 method) {
MICROPROFILE_SCOPE(MacroInterp);
Reset();