mirror of
https://github.com/libretro/Play-.git
synced 2024-11-27 10:40:41 +00:00
Code style fixes.
This commit is contained in:
parent
624cd1b572
commit
5ae930b45d
@ -494,11 +494,9 @@ void CIoman::SaveState(Framework::CZipArchiveWriter& archive)
|
||||
void CIoman::LoadState(Framework::CZipArchiveReader& archive)
|
||||
{
|
||||
std::experimental::erase_if(m_files,
|
||||
[] (const FileMapType::value_type& filePair)
|
||||
{
|
||||
return (filePair.first != FID_STDOUT) && (filePair.first != FID_STDERR);
|
||||
}
|
||||
);
|
||||
[](const FileMapType::value_type& filePair) {
|
||||
return (filePair.first != FID_STDOUT) && (filePair.first != FID_STDERR);
|
||||
});
|
||||
|
||||
auto fileStateFile = CXmlStateFile(*archive.BeginReadFile(STATE_FILES_FILENAME));
|
||||
auto fileStateNode = fileStateFile.GetRoot();
|
||||
|
@ -103,9 +103,8 @@ namespace Iop
|
||||
FileInfo() = default;
|
||||
|
||||
FileInfo(Framework::CStream* stream)
|
||||
: stream(stream)
|
||||
: stream(stream)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
FileInfo(FileInfo&& rhs)
|
||||
@ -118,7 +117,7 @@ namespace Iop
|
||||
Reset();
|
||||
}
|
||||
|
||||
FileInfo& operator =(FileInfo&& rhs)
|
||||
FileInfo& operator=(FileInfo&& rhs)
|
||||
{
|
||||
MoveFrom(std::move(rhs));
|
||||
return (*this);
|
||||
@ -140,7 +139,7 @@ namespace Iop
|
||||
path.clear();
|
||||
}
|
||||
|
||||
FileInfo& operator =(const FileInfo&) = delete;
|
||||
FileInfo& operator=(const FileInfo&) = delete;
|
||||
FileInfo(const FileInfo&) = delete;
|
||||
|
||||
Framework::CStream* stream = nullptr;
|
||||
@ -148,7 +147,6 @@ namespace Iop
|
||||
uint32 flags = 0;
|
||||
};
|
||||
|
||||
|
||||
typedef std::map<uint32, FileInfo> FileMapType;
|
||||
typedef std::map<uint32, Ioman::Directory> DirectoryMapType;
|
||||
typedef std::map<std::string, DevicePtr> DeviceMapType;
|
||||
|
Loading…
Reference in New Issue
Block a user