mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
SPU2: Fix class has a constructor with 1 argument that is not explicit warnings.
Codacy.
This commit is contained in:
1 parent
0cd5b9072c
commit
ee3cacffd7
2 files changed
+2
-2
No files matched your search
@@ -53,7 +53,7 @@ private:
|
||||
public:
|
||||
ConvertedSampleReader() = delete;
|
||||
|
||||
ConvertedSampleReader(u64* pWritten)
|
||||
explicit ConvertedSampleReader(u64* pWritten)
|
||||
: written(pWritten)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ private:
|
||||
return state.SamplesPlayed & (m_BufferSize - 1);
|
||||
}
|
||||
|
||||
BaseStreamingVoice(uint numChannels)
|
||||
explicit BaseStreamingVoice(uint numChannels)
|
||||
: m_nBuffers(2)
|
||||
, m_nChannels(numChannels)
|
||||
, m_BufferSize(SndOutPacketSize * m_nChannels * PacketsPerBuffer)
|
||||
|
||||
Reference in new issue
Block a user