mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-21 09:41:39 +00:00
VideoBackends: Add the explicit keyword to WorkItem-derived class constructors
Prevents implicit conversions
This commit is contained in:
parent
5059332d95
commit
2d45204f12
4 changed files with 9 additions and 9 deletions
|
@ -56,7 +56,7 @@ private:
|
|||
class PixelShaderCompilerWorkItem : public VideoCommon::AsyncShaderCompiler::WorkItem
|
||||
{
|
||||
public:
|
||||
PixelShaderCompilerWorkItem(const PixelShaderUid& uid);
|
||||
explicit PixelShaderCompilerWorkItem(const PixelShaderUid& uid);
|
||||
~PixelShaderCompilerWorkItem() override;
|
||||
|
||||
bool Compile() override;
|
||||
|
@ -71,7 +71,7 @@ private:
|
|||
class UberPixelShaderCompilerWorkItem : public VideoCommon::AsyncShaderCompiler::WorkItem
|
||||
{
|
||||
public:
|
||||
UberPixelShaderCompilerWorkItem(const UberShader::PixelShaderUid& uid);
|
||||
explicit UberPixelShaderCompilerWorkItem(const UberShader::PixelShaderUid& uid);
|
||||
~UberPixelShaderCompilerWorkItem() override;
|
||||
|
||||
bool Compile() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue