CodeFactor review
This commit is contained in:
@@ -67,7 +67,6 @@ namespace Scrobbling::ListenBrainz
|
||||
std::size_t fetchedListenCount{};
|
||||
std::size_t matchedListenCount{};
|
||||
std::size_t importedListenCount{};
|
||||
|
||||
};
|
||||
|
||||
UserContext& getUserContext(Database::IdType userId);
|
||||
|
||||
@@ -40,10 +40,8 @@ IOContextRunner::stop()
|
||||
|
||||
IOContextRunner::~IOContextRunner()
|
||||
{
|
||||
|
||||
stop();
|
||||
|
||||
for (std::thread& t : _threads)
|
||||
t.join();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,7 +49,6 @@ namespace UserInterface
|
||||
void refreshView(const Wt::WString& searchText);
|
||||
|
||||
private:
|
||||
|
||||
// same order as in the menu
|
||||
enum class Mode
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -42,7 +42,6 @@ TEST_F(DatabaseFixture, SingleTrack)
|
||||
|
||||
TEST_F(DatabaseFixture, MultipleTracksSearchByFilter)
|
||||
{
|
||||
|
||||
ScopedTrack track1 {session, ""};
|
||||
ScopedTrack track2 {session, ""};
|
||||
ScopedTrack track3 {session, ""};
|
||||
|
||||
Reference in New Issue
Block a user