mirror of https://github.com/PCSX2/pcsx2.git
Mkdir() doesn't allow const qualifier [-fpermissive]
Fixes: error: passing 'const wxFileName' as 'this' argument of 'bool wxFileName::Mkdir(int, int)' discards qualifiers [-fpermissive]
This commit is contained in:
parent
9f291a6666
commit
a0527fc53b
|
@ -1362,7 +1362,7 @@ void FileAccessHelper::WriteMetadata( const wxFileName& folderName, MemoryCardFi
|
|||
WriteMetadata( metadataIsNonstandard, fn, entry );
|
||||
}
|
||||
|
||||
void FileAccessHelper::WriteMetadata( bool metadataIsNonstandard, const wxFileName& metadataFilename, const MemoryCardFileEntry* const entry ) {
|
||||
void FileAccessHelper::WriteMetadata( bool metadataIsNonstandard, wxFileName& metadataFilename, const MemoryCardFileEntry* const entry ) {
|
||||
if ( metadataIsNonstandard ) {
|
||||
// write metadata of file if it's nonstandard
|
||||
if ( !metadataFilename.DirExists() ) {
|
||||
|
|
|
@ -228,7 +228,7 @@ protected:
|
|||
void CloseFileHandle( wxFFile* file, const MemoryCardFileEntry* entry = nullptr );
|
||||
|
||||
void WriteMetadata( const wxFileName& folderName, MemoryCardFileMetadataReference* fileRef );
|
||||
void WriteMetadata( bool metadataIsNonstandard, const wxFileName& metadataFilename, const MemoryCardFileEntry* const entry );
|
||||
void WriteMetadata( bool metadataIsNonstandard, wxFileName& metadataFilename, const MemoryCardFileEntry* const entry );
|
||||
};
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue