From 546cd5d4bec1dab53fef9faeb27ed21b251cbd36 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 30 Jan 2017 18:16:59 -0500 Subject: [PATCH 1/2] DSPAssembler: Make constructor explicit --- Source/Core/Core/DSP/DSPAssembler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/DSP/DSPAssembler.h b/Source/Core/Core/DSP/DSPAssembler.h index 183a4ef7ae..1887de09e7 100644 --- a/Source/Core/Core/DSP/DSPAssembler.h +++ b/Source/Core/Core/DSP/DSPAssembler.h @@ -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, From a9db9fd21772e7cdab91d097b200310e1cf2afc6 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 30 Jan 2017 18:17:48 -0500 Subject: [PATCH 2/2] DSPDisassembler: Make constructor explicit --- Source/Core/Core/DSP/DSPDisassembler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/DSP/DSPDisassembler.h b/Source/Core/Core/DSP/DSPDisassembler.h index 97fd061b85..78b3c31ddc 100644 --- a/Source/Core/Core/DSP/DSPDisassembler.h +++ b/Source/Core/Core/DSP/DSPDisassembler.h @@ -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& code, int base_addr, std::string& text);