mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Modernize std::max_element
with ranges
This commit is contained in:
parent
88a1a5b4f2
commit
c99a0c25e0
2 changed files with 2 additions and 2 deletions
|
@ -913,7 +913,7 @@ CalibrationWidget::CalibrationWidget(ControllerEmu::ReshapableInput& input,
|
|||
m_informative_timer = new QTimer(this);
|
||||
connect(m_informative_timer, &QTimer::timeout, this, [this] {
|
||||
// If the user has started moving we'll assume they know what they are doing.
|
||||
if (*std::max_element(m_calibration_data.begin(), m_calibration_data.end()) > 0.5)
|
||||
if (*std::ranges::max_element(m_calibration_data) > 0.5)
|
||||
return;
|
||||
|
||||
ModalMessageBox::information(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue