chore: Use const auto instead of enum for kOutputBufferSize in Windows watchdog
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
#define CURRENT_PROCESS_ID 0
|
||||
|
||||
const auto kStartDelaySeconds = 1;
|
||||
const auto kOutputBufferSize = 4096;
|
||||
|
||||
namespace {
|
||||
std::string trimDesktopName(const std::string &nameFromTraces)
|
||||
@ -43,11 +44,6 @@ std::string trimDesktopName(const std::string &nameFromTraces)
|
||||
|
||||
} // namespace
|
||||
|
||||
enum
|
||||
{
|
||||
kOutputBufferSize = 4096
|
||||
};
|
||||
|
||||
typedef VOID(WINAPI *SendSas)(BOOL asUser);
|
||||
|
||||
const char g_activeDesktop[] = {"activeDesktop:"};
|
||||
|
||||
Reference in New Issue
Block a user