mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
fixes to get llvm to compile (excepti for utils.cpp, that'll get fixed
later) Eradicate the Array almost everywhere, some usages like Stack still remains
This commit is contained in:
parent
d65968b41d
commit
25c3aa8e19
92 changed files with 931 additions and 1305 deletions
|
@ -34,7 +34,7 @@ bool vfsDirBase::IsExists(const std::string& path) const
|
|||
return wxDirExists(fmt::FromUTF8(path));
|
||||
}
|
||||
|
||||
const Array<DirEntryInfo>& vfsDirBase::GetEntries() const
|
||||
const std::vector<DirEntryInfo>& vfsDirBase::GetEntries() const
|
||||
{
|
||||
return m_entries;
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ const Array<DirEntryInfo>& vfsDirBase::GetEntries() const
|
|||
void vfsDirBase::Close()
|
||||
{
|
||||
m_cwd = "";
|
||||
m_entries.Clear();
|
||||
m_entries.clear();
|
||||
}
|
||||
|
||||
std::string vfsDirBase::GetPath() const
|
||||
|
@ -52,8 +52,8 @@ std::string vfsDirBase::GetPath() const
|
|||
|
||||
const DirEntryInfo* vfsDirBase::Read()
|
||||
{
|
||||
if (m_pos >= m_entries.GetCount())
|
||||
if (m_pos >= m_entries.size())
|
||||
return nullptr;
|
||||
|
||||
return &m_entries[m_pos++];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue