summaryrefslogtreecommitdiff
path: root/Userland/Utilities/du.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-06-12 13:24:45 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-12 13:24:45 +0200
commitdc65f54c065364225f0113a9339af72735547779 (patch)
tree60a8b9d37c6236748bfa310a564150d688595183 /Userland/Utilities/du.cpp
parent7e1bffdeb85c832c7cea1a71e2c9e9ebe7ff96ae (diff)
downloadserenity-dc65f54c065364225f0113a9339af72735547779.zip
AK: Rename Vector::append(Vector) => Vector::extend(Vector)
Let's make it a bit more clear when we're appending the elements from one vector to the end of another vector.
Diffstat (limited to 'Userland/Utilities/du.cpp')
-rw-r--r--Userland/Utilities/du.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/du.cpp b/Userland/Utilities/du.cpp
index f1ab20d4a7..0034ef9714 100644
--- a/Userland/Utilities/du.cpp
+++ b/Userland/Utilities/du.cpp
@@ -113,7 +113,7 @@ int parse_args(int argc, char** argv, Vector<String>& files, DuOption& du_option
const auto buff = file->read_all();
if (!buff.is_empty()) {
String patterns = String::copy(buff, Chomp);
- du_option.excluded_patterns.append(patterns.split('\n'));
+ du_option.excluded_patterns.extend(patterns.split('\n'));
}
}