diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-01-21 11:19:39 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-01-21 11:19:39 +1100 |
| commit | 702358b5597ff3d24da9795d59e3e699fae23693 (patch) | |
| tree | 80dbd48f48919b2d8d727a5f3b5f565ba03f706c /src/main.cc | |
| parent | c0be7234444f068014c7283a3e4bfdce3fdcac55 (diff) | |
Replace std::strong_ordering with auto return type to not require <compare>
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc index 844b4574..3e5ba370 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1092,8 +1092,7 @@ int main(int argc, char* argv[]) try { - auto show_usage = [&]() - { + auto show_usage = [&]() { write_stdout(format("Usage: {} [options] [file]... [+<line>[:<col>]|+:]\n\n" "Options:\n" "{}\n" |
