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

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

No files matched your search

+1 -1
View File
@@ -223,7 +223,7 @@ namespace service_ctrl {
} while (sc.query_service_status(status) && status.dwCurrentState == SERVICE_START_PENDING);
if (status.dwCurrentState != SERVICE_RUNNING) {
BOOST_LOG(error) << SERVICE_NAME " failed to start: "sv << status.dwWin32ExitCode;
BOOST_LOG(error) << std::format("{} failed to start: {}"sv, platf::SERVICE_NAME, status.dwWin32ExitCode);
return false;
}