summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/zippath.cpp
diff options
context:
space:
mode:
author npwoods <npwoods@mess.org>2022-07-21 08:18:15 -0400
committer GitHub <noreply@github.com>2022-07-21 22:18:15 +1000
commit56c4eed7df84cef2c5620e7e11fbb1ed96c6ffb7 (patch)
tree9545a2e2286c5db3c0ee2a32c113d7bd1f7c255b /src/lib/util/zippath.cpp
parent4875de8fbe7bc96d63a6b82a3a48d650d57b29a3 (diff)
util/zippath.cpp: Removed a now-unnecessary cast to std::string. (#10112)
Diffstat (limited to 'src/lib/util/zippath.cpp')
-rw-r--r--src/lib/util/zippath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/zippath.cpp b/src/lib/util/zippath.cpp
index 017ca8211c4..49cced27ff1 100644
--- a/src/lib/util/zippath.cpp
+++ b/src/lib/util/zippath.cpp
@@ -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;