mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
D3D12HostDisplay: Fix class has a constructor with 1 argument that is not explicit warning.
Codacy.
This commit is contained in:
1 parent
987fdd32fb
commit
0cd5b9072c
1 file changed
+1
-1
@@ -30,7 +30,7 @@
|
||||
class D3D12HostDisplayTexture : public HostDisplayTexture
|
||||
{
|
||||
public:
|
||||
D3D12HostDisplayTexture(D3D12::Texture texture)
|
||||
explicit D3D12HostDisplayTexture(D3D12::Texture texture)
|
||||
: m_texture(std::move(texture))
|
||||
{
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user