CDVD: Cleanup const reference warning.

Codacy warning: Function parameter should be passed by const reference.
This commit is contained in:
lightningterror 2022-08-26 15:10:52 +02:00
parent 472c6efc12
commit 0bf6f9d596
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;