From 342b76a594e11934e3c0d7b85b76c20aa5071426 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 2 Jan 2017 14:55:59 -0500 Subject: [PATCH] DSPJitRegCache: Make single argument constructor explicit Prevents implicit conversions. --- Source/Core/Core/DSP/Jit/DSPJitRegCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/DSP/Jit/DSPJitRegCache.h b/Source/Core/Core/DSP/Jit/DSPJitRegCache.h index bcb93b154c..9045009a83 100644 --- a/Source/Core/Core/DSP/Jit/DSPJitRegCache.h +++ b/Source/Core/Core/DSP/Jit/DSPJitRegCache.h @@ -39,7 +39,7 @@ enum DSPJitSignExtend class DSPJitRegCache { public: - DSPJitRegCache(DSPEmitter& emitter); + explicit DSPJitRegCache(DSPEmitter& emitter); // For branching into multiple control flows DSPJitRegCache(const DSPJitRegCache& cache);