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

@ -115,7 +115,7 @@ void Maxwell3D::InitializeRegisterDefaults() {
mme_inline[MAXWELL3D_REG_INDEX(index_array.count)] = true;
}
void Maxwell3D::CallMacroMethod(u32 method, std::vector<u32>& parameters) {
void Maxwell3D::CallMacroMethod(u32 method, const std::vector<u32>& parameters) {
// Reset the current macro.
executing_macro = 0;