diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-06-02 12:26:28 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-02 12:55:51 +0200 |
commit | 7bce096afdf182216c9da4c94765e12662188c98 (patch) | |
tree | b29607bbf3ad02d151f7a4ad7ca920636aaefb74 /LibCore/CDirIterator.h | |
parent | b55b6cd7fcaa8518e4901d4ec5bd0a9da5b28fc0 (diff) | |
download | serenity-7bce096afdf182216c9da4c94765e12662188c98.zip |
Take StringView in more places
We should work towards a pattern where we take StringView as function
arguments, and store String as member, to push the String construction
to the last possible moment.
Diffstat (limited to 'LibCore/CDirIterator.h')
-rw-r--r-- | LibCore/CDirIterator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibCore/CDirIterator.h b/LibCore/CDirIterator.h index 72920c2c1f..1d3395ef13 100644 --- a/LibCore/CDirIterator.h +++ b/LibCore/CDirIterator.h @@ -11,7 +11,7 @@ public: SkipDots = 0x1, }; - CDirIterator(const String& path, Flags = Flags::NoFlags); + CDirIterator(const StringView& path, Flags = Flags::NoFlags); ~CDirIterator(); bool has_error() const { return m_error != 0; } |