mirror of https://github.com/PCSX2/pcsx2.git
CDVD: Cleanup const reference warning.
Codacy warning: Function parameter should be passed by const reference.
This commit is contained in:
parent
472c6efc12
commit
0bf6f9d596
|
@ -34,7 +34,7 @@ public:
|
|||
|
||||
public:
|
||||
IsoDirectory(SectorSource& r);
|
||||
IsoDirectory(SectorSource& r, IsoFileDescriptor directoryEntry);
|
||||
IsoDirectory(SectorSource& r, const IsoFileDescriptor& directoryEntry);
|
||||
virtual ~IsoDirectory() = default;
|
||||
|
||||
std::string FStype_ToString() const;
|
||||
|
|
|
@ -112,7 +112,7 @@ IsoDirectory::IsoDirectory(SectorSource& r)
|
|||
}
|
||||
|
||||
// Used to load a specific directory from a file descriptor
|
||||
IsoDirectory::IsoDirectory(SectorSource& r, IsoFileDescriptor directoryEntry)
|
||||
IsoDirectory::IsoDirectory(SectorSource& r, const IsoFileDescriptor& directoryEntry)
|
||||
: internalReader(r)
|
||||
{
|
||||
m_fstype = FStype_ISO9660;
|
||||
|
|
Loading…
Reference in New Issue