mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Fix various warnings
This commit is contained in:
parent
f76ab86326
commit
06882bd2dc
13 changed files with 40 additions and 32 deletions
|
@ -31,13 +31,13 @@ void FilesystemWatcher::Watch(const std::string& path)
|
|||
|
||||
if (e.effect_type == wtr::event::effect_type::create)
|
||||
{
|
||||
const auto path = WithUnifiedPathSeparators(watched_path);
|
||||
PathAdded(path);
|
||||
const auto unified_path = WithUnifiedPathSeparators(watched_path);
|
||||
PathAdded(unified_path);
|
||||
}
|
||||
else if (e.effect_type == wtr::event::effect_type::modify)
|
||||
{
|
||||
const auto path = WithUnifiedPathSeparators(watched_path);
|
||||
PathModified(path);
|
||||
const auto unified_path = WithUnifiedPathSeparators(watched_path);
|
||||
PathModified(unified_path);
|
||||
}
|
||||
else if (e.effect_type == wtr::event::effect_type::rename)
|
||||
{
|
||||
|
@ -53,8 +53,8 @@ void FilesystemWatcher::Watch(const std::string& path)
|
|||
}
|
||||
else if (e.effect_type == wtr::event::effect_type::destroy)
|
||||
{
|
||||
const auto path = WithUnifiedPathSeparators(watched_path);
|
||||
PathDeleted(path);
|
||||
const auto unified_path = WithUnifiedPathSeparators(watched_path);
|
||||
PathDeleted(unified_path);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue