Win32Main: make the service table "constexpr"

This commit is contained in:
Max Kellermann 2014-12-05 00:26:48 +01:00
parent cd3c2fdb49
commit 267ccc98d3

View File

@ -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}
};