summaryrefslogtreecommitdiffstats
path: root/src/analyzer
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2021-03-04 23:39:42 +0100
committerDaniel Schürmann <daschuer@mixxx.org>2021-03-04 23:39:42 +0100
commit32ff91e0a4b03fe8b5dd2b5d146c2f739acd566b (patch)
treecfeef7a2bb302bcb8d97a8c4cd57887ebb632cea /src/analyzer
parent4dc057b29ddf2b00d7ec52533de22f8d916fe54b (diff)
make beats pointer const
Diffstat (limited to 'src/analyzer')
-rw-r--r--src/analyzer/analyzerbeats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer/analyzerbeats.cpp b/src/analyzer/analyzerbeats.cpp
index f7b0e1e4e0..2036e041fa 100644
--- a/src/analyzer/analyzerbeats.cpp
+++ b/src/analyzer/analyzerbeats.cpp
@@ -152,7 +152,7 @@ bool AnalyzerBeats::shouldAnalyze(TrackPointer pTrack) const {
// If the track already has a Beats object then we need to decide whether to
// analyze this track or not.
- mixxx::BeatsPointer pBeats = pTrack->getBeats();
+ const mixxx::BeatsPointer pBeats = pTrack->getBeats();
if (!pBeats) {
return true;
}