aboutsummaryrefslogtreecommitdiff
path: root/src/game_of_life.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-29 17:40:04 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:57 +0200
commita039c8ad36779903571419cb06cd052f8fc41512 (patch)
tree4fdced6941a048bdd4b032fab7012bca00a6028e /src/game_of_life.cpp
parentacf72075ed32e5a679d49ffedc0c28d8ac2aea8b (diff)
refactor: use trailing return types
Diffstat (limited to 'src/game_of_life.cpp')
-rw-r--r--src/game_of_life.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game_of_life.cpp b/src/game_of_life.cpp
index 6af6809..1daf5b8 100644
--- a/src/game_of_life.cpp
+++ b/src/game_of_life.cpp
@@ -10,7 +10,7 @@ const std::vector<option> options = {option({"seed", required_argument, nullptr,
option({"help", no_argument, nullptr, 'h'}),
option({nullptr, 0, nullptr, 0})};
-int main(int argc, char *argv[]) noexcept
+auto main(int argc, char *argv[]) noexcept -> int
{
auto container = bootstrap();