mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
AK+Everywhere: Rename String to DeprecatedString
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
This commit is contained in:
parent
f74251606d
commit
6e19ab2bbc
2006 changed files with 11635 additions and 11636 deletions
|
@ -21,7 +21,7 @@
|
|||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
|
||||
static String program_name;
|
||||
static DeprecatedString program_name;
|
||||
|
||||
template<typename... Parameters>
|
||||
[[noreturn]] static void err(CheckedFormatString<Parameters...>&& fmtstr, Parameters const&... parameters)
|
||||
|
@ -191,7 +191,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
program_name = arguments.strings[0];
|
||||
|
||||
Vector<String> paths;
|
||||
Vector<DeprecatedString> paths;
|
||||
|
||||
timespec times[2];
|
||||
auto& atime = times[0];
|
||||
|
@ -201,9 +201,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
bool update_mtime = false;
|
||||
bool no_create_file = false;
|
||||
|
||||
String input_datetime = "";
|
||||
String input_time = "";
|
||||
String reference_path = "";
|
||||
DeprecatedString input_datetime = "";
|
||||
DeprecatedString input_time = "";
|
||||
DeprecatedString reference_path = "";
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.set_general_help("Create a file or update file access time and/or modification time.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue