Clang-Tidy and Clazy fixes

This commit is contained in:
Jonas Kvinge
2021-06-20 19:04:08 +02:00
parent 755abec636
commit 1295033fae
374 changed files with 1304 additions and 900 deletions

View File

@@ -40,7 +40,7 @@ class InternetServices : public QObject {
explicit InternetServices(QObject *parent = nullptr);
~InternetServices() override;
InternetService *ServiceBySource(const Song::Source &source);
InternetService *ServiceBySource(const Song::Source source);
template <typename T>
T *Service() {
return static_cast<T*>(this->ServiceBySource(T::kSource));