From 1af9bc8e19d571ebe02d38aed2f87655fdf720d4 Mon Sep 17 00:00:00 2001 From: dP Date: Mon, 6 Feb 2023 00:00:01 +0400 Subject: [PATCH] Fix windows compilation --- gen_commands.py | 2 +- src/citymania/generated/cm_gen_commands.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_commands.py b/gen_commands.py index d7fb565bd4..b737cd67d5 100644 --- a/gen_commands.py +++ b/gen_commands.py @@ -112,7 +112,7 @@ constexpr auto MakeCallback() noexcept { } } -template +template inline constexpr auto MakeDispatchTableHelper(std::index_sequence) noexcept { return std::array{MakeCallback()... }; diff --git a/src/citymania/generated/cm_gen_commands.cpp b/src/citymania/generated/cm_gen_commands.cpp index 13f87d9ed5..916676c22f 100644 --- a/src/citymania/generated/cm_gen_commands.cpp +++ b/src/citymania/generated/cm_gen_commands.cpp @@ -93,7 +93,7 @@ constexpr auto MakeCallback() noexcept { } } -template +template inline constexpr auto MakeDispatchTableHelper(std::index_sequence) noexcept { return std::array{MakeCallback()... };