code: Remove allocator argument from Mapping.init

This commit is contained in:
Marten Ringwelski
2020-10-25 09:25:29 +01:00
committed by Isaac Freund
parent dd92b05af0
commit 16c8752de2
3 changed files with 10 additions and 10 deletions

View File

@ -84,7 +84,7 @@ pub fn map(
}
}
try mode_mappings.append(try Mapping.init(util.gpa, keysym, modifiers, optionals.release, args[4 + offset ..]));
try mode_mappings.append(try Mapping.init(keysym, modifiers, optionals.release, args[4 + offset ..]));
}
/// Create a new pointer mapping for a given mode