Use override

This commit is contained in:
Jonas Kvinge
2020-06-15 21:55:05 +02:00
parent 72ede666d4
commit 651020388d
271 changed files with 1199 additions and 1231 deletions

View File

@@ -41,7 +41,7 @@ namespace {
class CollectionBackendTest : public ::testing::Test {
protected:
virtual void SetUp() {
void SetUp() override {
database_.reset(new MemoryDatabase(nullptr));
backend_.reset(new CollectionBackend);
backend_->Init(database_.get(), Song::Source_Collection, SCollection::kSongsTable, SCollection::kDirsTable, SCollection::kSubdirsTable, SCollection::kFtsTable);
@@ -146,7 +146,7 @@ TEST_F(CollectionBackendTest, GetAlbumArtNonExistent) {
// Test adding a single song to the database, then getting various information back about it.
class SingleSong : public CollectionBackendTest {
protected:
virtual void SetUp() {
void SetUp() override {
CollectionBackendTest::SetUp();
// Add a directory - this will get ID 1