Skip to content

Commit

Permalink
Mark construction as explicit to avoid unintentional implicit convers…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
caseyscarborough committed Jan 19, 2023
1 parent a71df02 commit fbc59d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mappers/mapper_nrom.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class MapperNROM : public Mapper {
public:
MapperNROM(uint8_t prg_rom_size);
explicit MapperNROM(uint8_t prg_rom_size);
~MapperNROM();
uint16_t map_address_prg(uint16_t address) override;
uint16_t map_address_chr(uint16_t address) override;
Expand Down

0 comments on commit fbc59d4

Please sign in to comment.