fix readability-identifier-length

This commit is contained in:
wmayer
2023-11-14 20:15:02 +01:00
parent 57a333e2b2
commit 9c7d00ffcb
38 changed files with 281 additions and 270 deletions

View File

@@ -218,13 +218,13 @@ boost::filesystem::path FileInfo::stringToPath(const std::string& str)
return path;
}
std::string FileInfo::pathToString(const boost::filesystem::path& p)
std::string FileInfo::pathToString(const boost::filesystem::path& path)
{
#if defined(FC_OS_WIN32)
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> converter;
return converter.to_bytes(p.wstring());
return converter.to_bytes(path.wstring());
#else
return p.string();
return path.string();
#endif
}