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

chown: Stop using DeprecatedString

This commit is contained in:
Sam Atkins 2023-03-10 14:53:52 +00:00 committed by Andreas Kling
parent 916e7a5a3f
commit 2db4a2450b

View file

@ -4,7 +4,6 @@
* SPDX-License-Identifier: BSD-2-Clause * SPDX-License-Identifier: BSD-2-Clause
*/ */
#include <AK/DeprecatedString.h>
#include <AK/Vector.h> #include <AK/Vector.h>
#include <LibCore/ArgsParser.h> #include <LibCore/ArgsParser.h>
#include <LibCore/DirIterator.h> #include <LibCore/DirIterator.h>
@ -21,7 +20,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
{ {
TRY(Core::System::pledge("stdio rpath chown")); TRY(Core::System::pledge("stdio rpath chown"));
DeprecatedString spec; StringView spec;
Vector<StringView> paths; Vector<StringView> paths;
bool no_dereference = false; bool no_dereference = false;
bool recursive = false; bool recursive = false;