From 5c33ffb1d44a79242dc0eb0bbf99f60bebc1bdbb Mon Sep 17 00:00:00 2001 From: Paul Johnson Date: Mon, 29 Mar 2021 00:15:04 +0100 Subject: [PATCH] Fix compiler warning in MetricSelect.cpp (#3852) --- src/Gui/MetricSelect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/MetricSelect.cpp b/src/Gui/MetricSelect.cpp index ae5041375..d640a668a 100644 --- a/src/Gui/MetricSelect.cpp +++ b/src/Gui/MetricSelect.cpp @@ -64,7 +64,7 @@ MetricSelect::MetricSelect(QWidget *parent, Context *context, int scope) void MetricSelect::setSymbol(QString symbol) { - if (scope&Metric == 0) return; + if ((scope & MetricSelect::Metric) == 0) return; // get the ridemetric RideMetricFactory &factory = RideMetricFactory::instance();