Skip to content

Commit

Permalink
Remediate warnings with clang++ (MacOS)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemba committed Jun 26, 2024
1 parent f67e85d commit 774eebd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/abstractscraper.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class AbstractScraper : public QObject {
enum MatchType { ABSTRACT, MATCH_ONE, MATCH_MANY };

AbstractScraper(Settings *config, QSharedPointer<NetManager> manager,
MatchType type = {ABSTRACT});
MatchType type = ABSTRACT);
virtual ~AbstractScraper();
virtual void getGameData(GameEntry &game);
virtual QList<QString> getSearchNames(const QFileInfo &info,
Expand Down Expand Up @@ -93,7 +93,7 @@ class AbstractScraper : public QObject {
QString lookupSearchName(const QFileInfo &info, const QString &baseName,
QString &debug);

MatchType type = {ABSTRACT};
MatchType type = ABSTRACT;

QList<int> fetchOrder;

Expand Down
6 changes: 3 additions & 3 deletions src/esde.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ class Esde : public EmulationStation {
QString getMediaFolder() override;

protected:
QStringList createEsVariantXml(const GameEntry &entry);
QStringList extraGamelistTags(bool isFolder);
GameEntry::Format gamelistFormat() { return GameEntry::Format::ESDE; };
QStringList createEsVariantXml(const GameEntry &entry) override;
QStringList extraGamelistTags(bool isFolder) override;
GameEntry::Format gamelistFormat() override { return GameEntry::Format::ESDE; };
};

#endif // ESDE_H

0 comments on commit 774eebd

Please sign in to comment.