diff options
author | Max Kellermann <max@duempel.org> | 2014-12-05 00:26:48 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-05 00:26:48 +0100 |
commit | 267ccc98d3a9e9da0544a5123fcd1040e00360e9 (patch) | |
tree | 2657c3a85b7c8fbd89b2cbfcdbf939c3e348d355 /src/win32/Win32Main.cxx | |
parent | cd3c2fdb4917dc0a4fa2b9da7d36ea34306d648b (diff) | |
download | mpd-267ccc98d3a9e9da0544a5123fcd1040e00360e9.tar.gz mpd-267ccc98d3a9e9da0544a5123fcd1040e00360e9.tar.xz mpd-267ccc98d3a9e9da0544a5123fcd1040e00360e9.zip |
Win32Main: make the service table "constexpr"
Diffstat (limited to 'src/win32/Win32Main.cxx')
-rw-r--r-- | src/win32/Win32Main.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/Win32Main.cxx b/src/win32/Win32Main.cxx index 894879129..30d94bef5 100644 --- a/src/win32/Win32Main.cxx +++ b/src/win32/Win32Main.cxx @@ -40,7 +40,7 @@ static SERVICE_STATUS_HANDLE service_handle; static void WINAPI service_main(DWORD argc, CHAR *argv[]); -static SERVICE_TABLE_ENTRY service_registry[] = { +static constexpr SERVICE_TABLE_ENTRY service_registry[] = { {service_name, service_main}, {nullptr, nullptr} }; |