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

@@ -30,7 +30,7 @@ extern "C" {
// Win32 WHEEL_DELTA constant
#ifndef WHEEL_DELTA
#define WHEEL_DELTA 120
constexpr int WHEEL_DELTA = 120;
#endif
using namespace std::literals;