Merge pull request #4793 from lioncash/asm-disasm

DSPAssembler/DSPDisassembler: Make constructors explicit
This commit is contained in:
Markus Wick 2017-01-31 00:25:27 +01:00 committed by GitHub
commit 24951fde2b
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ enum err_t
class DSPAssembler
{
public:
DSPAssembler(const AssemblerSettings& settings);
explicit DSPAssembler(const AssemblerSettings& settings);
~DSPAssembler();
// line_numbers is optional (and not yet implemented). It'll receieve a list of ints,

View File

@ -33,7 +33,7 @@ struct AssemblerSettings
class DSPDisassembler
{
public:
DSPDisassembler(const AssemblerSettings& settings);
explicit DSPDisassembler(const AssemblerSettings& settings);
~DSPDisassembler();
bool Disassemble(int start_pc, const std::vector<u16>& code, int base_addr, std::string& text);