mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Fix some -Weffc++ warnings (part 1)
This commit is contained in:
parent
deacf05769
commit
2212a131ef
24 changed files with 162 additions and 56 deletions
|
|
@ -17,18 +17,18 @@
|
|||
struct vfs_directory
|
||||
{
|
||||
// Real path (empty if root or not exists)
|
||||
std::string path;
|
||||
std::string path{};
|
||||
|
||||
// Virtual subdirectories (vector because only vector allows incomplete types)
|
||||
std::vector<std::pair<std::string, vfs_directory>> dirs;
|
||||
std::vector<std::pair<std::string, vfs_directory>> dirs{};
|
||||
};
|
||||
|
||||
struct vfs_manager
|
||||
{
|
||||
shared_mutex mutex;
|
||||
shared_mutex mutex{};
|
||||
|
||||
// VFS root
|
||||
vfs_directory root;
|
||||
vfs_directory root{};
|
||||
};
|
||||
|
||||
bool vfs::mount(std::string_view vpath, std::string_view path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue