diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-20 14:02:19 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-20 14:02:19 +0200 |
commit | 5eedb2283488fafef98c20729bc6917c6de957e5 (patch) | |
tree | 99f5fa12e15a4134f5b53f13ab34dcca1cb5efbf /LibC/unistd.cpp | |
parent | 7faf8fabf20d703141bc873716e8bea7692d1975 (diff) | |
download | serenity-5eedb2283488fafef98c20729bc6917c6de957e5.zip |
Sprinkle use of AK::Vector in various places.
Some of these are less helpful than others. Avoiding a bunch of mallocs
in the event loop wakeup code is definitely nice.
Diffstat (limited to 'LibC/unistd.cpp')
-rw-r--r-- | LibC/unistd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/unistd.cpp b/LibC/unistd.cpp index a0bd5be157..19f02c034e 100644 --- a/LibC/unistd.cpp +++ b/LibC/unistd.cpp @@ -64,7 +64,7 @@ int execvp(const char* filename, char* const argv[]) int execl(const char* filename, const char* arg0, ...) { - Vector<const char*> args; + Vector<const char*, 16> args; args.append(arg0); va_list ap; |