mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Misc: Replace "String(string_view)" with "string_view.to_string()"
StringView::to_string() was added in 917ccb1 but not actually used anywhere yet.
This commit is contained in:
committed by
Andreas Kling
parent
107ca2e4ba
commit
9dbab2d05e
@@ -33,7 +33,7 @@ DirIterator::DirIterator(const StringView& path, Flags flags)
|
||||
: m_path(path)
|
||||
, m_flags(flags)
|
||||
{
|
||||
m_dir = opendir(String(path).characters());
|
||||
m_dir = opendir(path.to_string().characters());
|
||||
if (!m_dir) {
|
||||
m_error = errno;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user