mirror of https://github.com/yuzu-mirror/yuzu
[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.pull/8/head
parent
660c6bec22
commit
11f4bf8a9a
Loading…
Reference in New Issue