Skip to content

Commit

Permalink
[Fix] mpt/main/main.hpp: Fix syntax in MPT_MAIN_IMPLEMENT_MAIN_NO_ARG…
Browse files Browse the repository at this point in the history
…S().

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21734 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Sep 24, 2024
1 parent 2dda7f7 commit ba3cc9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpt/main/main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ inline std::vector<mpt::ustring> transcode_argv(int argc, Tchar * argv[]) {
MPT_MAIN_DECL \
MPT_MAIN_DEF_PREFIX int MPT_MAIN_NAME(int argc, MPT_MAIN_ARGV_TYPE * argv[]) { \
MPT_MAIN_PROLOG(); \
static_assert(std::is_same<decltype(ns::main), mpt::uint8(void); \
static_assert(std::is_same<decltype(ns::main), mpt::uint8(void)>::value); \
MPT_UNUSED(argc); \
MPT_UNUSED(argv); \
return static_cast<int>(ns::main()); \
Expand Down

0 comments on commit ba3cc9d

Please sign in to comment.