diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-07 11:49:31 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-07 11:49:31 +0200 |
commit | b07bbf383d551eca9a50667cda0daec3eb74e806 (patch) | |
tree | ee982b94d6df8d150a207892dcceb0cdd216934b /Userland/sort.cpp | |
parent | f7ede145b42043a81c7e50f85616e25875521b04 (diff) | |
download | serenity-b07bbf383d551eca9a50667cda0daec3eb74e806.zip |
Userland: Run clang-format on everything.
Diffstat (limited to 'Userland/sort.cpp')
-rw-r--r-- | Userland/sort.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/sort.cpp b/Userland/sort.cpp index 35d3933f9e..543a1185c3 100644 --- a/Userland/sort.cpp +++ b/Userland/sort.cpp @@ -1,6 +1,6 @@ +#include <AK/AKString.h> #include <AK/QuickSort.h> #include <AK/Vector.h> -#include <AK/AKString.h> #include <stdio.h> #include <stdlib.h> @@ -16,7 +16,7 @@ int main(int argc, char** argv) lines.append(buffer); } - quick_sort(lines.begin(), lines.end(), [] (auto& a, auto& b) { + quick_sort(lines.begin(), lines.end(), [](auto& a, auto& b) { return strcmp(a.characters(), b.characters()) < 0; }); |