mirror of https://git.suyu.dev/suyu/suyu
[input_common] Move variable declaration closer to usage
MSVC supplied with VS2022 generates "warning C4189: 'CALIBRATION_THRESHOLD': local variable is initialized but not referenced" which is treated as an error. Circumvent it by moving constexpr variable directly into body of lambda function.merge-requests/60/head
parent
660c6bec22
commit
11f4bf8a9a
Loading…
Reference in New Issue