mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-02 11:58:27 +00:00
Fixed compiler errors and warning that showed up on Debian Stretch.
This commit is contained in:
parent
e9f924fef8
commit
dca2526879
@ -90,7 +90,7 @@ class ExternalIdListToTrackListQuery : public TrackListQueryBase {
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual bool OnRun(musik::core::db::Connection& db) {
|
||||
virtual bool OnRun(musik::core::db::Connection& db) override {
|
||||
std::string sql = "SELECT id, external_id FROM tracks WHERE external_id IN(";
|
||||
for (size_t i = 0; i < externalIdCount; i++) {
|
||||
sql += (i == 0) ? "?" : ",?";
|
||||
@ -128,7 +128,7 @@ class ExternalIdListToTrackListQuery : public TrackListQueryBase {
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual std::string Name() {
|
||||
virtual std::string Name() override {
|
||||
return "ExternalIdListToTrackListQuery";
|
||||
}
|
||||
|
||||
|
@ -34,6 +34,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
namespace musik { namespace core { namespace sdk {
|
||||
|
||||
class IPreferences {
|
||||
|
@ -79,7 +79,7 @@ namespace musik { namespace core {
|
||||
virtual void SetDouble(const char* key, double value) override;
|
||||
virtual void SetString(const char* key, const char* value) override;
|
||||
|
||||
virtual void Save();
|
||||
virtual void Save() override;
|
||||
|
||||
/* easier interface for internal use */
|
||||
virtual bool GetBool(const std::string& key, bool defaultValue = false);
|
||||
|
Loading…
Reference in New Issue
Block a user