mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
util/zippath.cpp: Removed a now-unnecessary cast to std::string. (#10112)
This commit is contained in:
parent
4875de8fbe
commit
56c4eed7df
@ -726,7 +726,7 @@ std::error_condition zippath_fopen(std::string_view filename, uint32_t openflags
|
||||
}
|
||||
|
||||
if (subpath.empty())
|
||||
filerr = util::core_file::open(std::string(filename), openflags, file);
|
||||
filerr = util::core_file::open(filename, openflags, file);
|
||||
else
|
||||
filerr = std::errc::no_such_file_or_directory;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user