CPPCHECK: Add override specifiers

sql-rework
Tomasz Golinski 2020-02-11 17:37:01 +01:00
rodzic 17e8a93b5b
commit 3785d5d067
3 zmienionych plików z 3 dodań i 3 usunięć

2
gpx.h
Wyświetl plik

@ -20,5 +20,5 @@ public:
~GPX(); ~GPX();
Cache get_cache(const std::string& code) const; Cache get_cache(const std::string& code) const;
Caches get_user_caches(const std::string& uuid = "", int count = 0) const; Caches get_user_caches(const std::string& uuid = "", int count = 0) const override;
}; };

2
ocdb.h
Wyświetl plik

@ -35,5 +35,5 @@ public:
void set_revision(int rev); void set_revision(int rev);
Caches get_user_caches_not_found(const std::string& uuid) const; Caches get_user_caches_not_found(const std::string& uuid) const;
Caches get_user_caches(const std::string& uuid, int count = 0) const; Caches get_user_caches(const std::string& uuid, int count = 0) const override;
}; };

Wyświetl plik

@ -24,7 +24,7 @@ public:
// Cache get_cache(std::string code); // Cache get_cache(std::string code);
Caches get_caches(const std::map<std::string, std::tm>& codes) const; Caches get_caches(const std::map<std::string, std::tm>& codes) const;
Caches get_user_caches(const std::string& uuid, int count = 0) const; Caches get_user_caches(const std::string& uuid, int count = 0) const override;
std::string get_changelog_json(int revision) const; std::string get_changelog_json(int revision) const;
std::string get_uuid(const std::string& username) const; std::string get_uuid(const std::string& username) const;