refactor: replace macros with constexpr/consts (#4791)

This commit is contained in:
David Lane
2026-02-28 18:22:33 -05:00
committed by GitHub
parent 80103a5d91
commit 2b7af2119d
12 changed files with 74 additions and 76 deletions

View File

@@ -18,7 +18,7 @@ SERVICE_STATUS service_status;
HANDLE stop_event;
HANDLE session_change_event;
#define SERVICE_NAME "SunshineService"
constexpr auto SERVICE_NAME = "SunshineService";
DWORD WINAPI HandlerEx(DWORD dwControl, DWORD dwEventType, LPVOID lpEventData, LPVOID lpContext) {
switch (dwControl) {