summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-08 14:03:19 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-08 14:03:19 +0200
commit56563cb3051e584fc62186b822a7dd503f3da05f (patch)
treea9b1d15a0e2befb69f22061da3668951f6113c93 /Libraries
parentc79b0481985325a5afb6dce30a0174cce18f313d (diff)
downloadserenity-56563cb3051e584fc62186b822a7dd503f3da05f.zip
CDirIterator: Fix another instance of StringView::characters() misuse.
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibCore/CDirIterator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCore/CDirIterator.cpp b/Libraries/LibCore/CDirIterator.cpp
index d76d52970d..097283bddc 100644
--- a/Libraries/LibCore/CDirIterator.cpp
+++ b/Libraries/LibCore/CDirIterator.cpp
@@ -4,7 +4,7 @@
CDirIterator::CDirIterator(const StringView& path, Flags flags)
: m_flags(flags)
{
- m_dir = opendir(path.characters());
+ m_dir = opendir(String(path).characters());
if (m_dir == nullptr) {
m_error = errno;
}