aboutsummaryrefslogtreecommitdiff
path: root/src/game_of_life.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-04-24 17:13:52 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commitdb6edcd473a684420e9a7611b24462df21165c1b (patch)
tree9646bdb4f5f6e339a0a01873b44e0b185476ce56 /src/game_of_life.cpp
parentb36d072ad7a7b9c6e30fcb25d6bbb001a8393468 (diff)
style: improve function and brace styling
Diffstat (limited to 'src/game_of_life.cpp')
-rw-r--r--src/game_of_life.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game_of_life.cpp b/src/game_of_life.cpp
index 098ec32..a6c327d 100644
--- a/src/game_of_life.cpp
+++ b/src/game_of_life.cpp
@@ -6,9 +6,9 @@
#include <getopt.h>
#include <vector>
-const std::vector<option> options = {option({"seed", required_argument, nullptr, 's'}),
- option({"help", no_argument, nullptr, 'h'}),
- option({nullptr, 0, nullptr, 0})};
+const std::vector<option> options = { option({ "seed", required_argument, nullptr, 's' }),
+ option({ "help", no_argument, nullptr, 'h' }),
+ option({ nullptr, 0, nullptr, 0 }) };
auto main(int argc, char *argv[]) noexcept -> int
{