CodeFactor review

This commit is contained in:
emeric
2021-05-20 16:50:46 +02:00
parent b59596699a
commit 1477fa125e
5 changed files with 0 additions and 6 deletions
@@ -67,7 +67,6 @@ namespace Scrobbling::ListenBrainz
std::size_t fetchedListenCount{};
std::size_t matchedListenCount{};
std::size_t importedListenCount{};
};
UserContext& getUserContext(Database::IdType userId);
-2
View File
@@ -40,10 +40,8 @@ IOContextRunner::stop()
IOContextRunner::~IOContextRunner()
{
stop();
for (std::thread& t : _threads)
t.join();
}
-1
View File
@@ -49,7 +49,6 @@ namespace UserInterface
void refreshView(const Wt::WString& searchText);
private:
// same order as in the menu
enum class Mode
{
-1
View File
@@ -124,7 +124,6 @@ class TmpDatabase final
const std::filesystem::path _tmpFile {std::tmpnam(nullptr)};
ScopedFileDeleter fileDeleter {_tmpFile};
Database::Db _db {_tmpFile};
};
class DatabaseFixture : public ::testing::Test
-1
View File
@@ -42,7 +42,6 @@ TEST_F(DatabaseFixture, SingleTrack)
TEST_F(DatabaseFixture, MultipleTracksSearchByFilter)
{
ScopedTrack track1 {session, ""};
ScopedTrack track2 {session, ""};
ScopedTrack track3 {session, ""};