1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:27:35 +00:00

LibCore: Make DirIterator take String instead of StringView

This commit is contained in:
Andreas Kling 2021-04-17 00:48:07 +02:00
parent 0e4eb62dd8
commit 510aad6515
2 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@ public:
SkipParentAndBaseDir = 0x2,
};
DirIterator(const StringView& path, Flags = Flags::NoFlags);
explicit DirIterator(String path, Flags = Flags::NoFlags);
~DirIterator();
bool has_error() const { return m_error != 0; }