Codefactor review

This commit is contained in:
emeric
2022-05-25 21:04:35 +02:00
parent d13cb3e0ad
commit ee42e51b00
27 changed files with 2 additions and 34 deletions
@@ -226,7 +226,6 @@ AvFormatParser::parse(const std::filesystem::path& p, bool debug)
track.clusters[tag] = std::move(values);
}
}
}
track.artists = getArtists(metadataMap);
-1
View File
@@ -148,7 +148,6 @@ getAlbum(const TagLib::PropertyMap& properties)
void
TagLibParser::processTag(Track& track, const std::string& tag, const TagLib::StringList& values, bool debug)
{
if (debug)
{
std::vector<std::string> strs;
@@ -30,7 +30,6 @@ namespace SOM
class DataNormalizer
{
public:
struct MinMax
{
InputVector::value_type min;
-1
View File
@@ -163,7 +163,6 @@ class InputVector
}
private:
friend class InputVector operator-(const InputVector& a, const InputVector& b)
{
if (!a.hasSameDimension(b.getNbDimensions()))
-2
View File
@@ -53,7 +53,6 @@ template <typename T>
class Matrix
{
public:
Matrix() = default;
Matrix(Coordinate width, Coordinate height)
@@ -109,7 +108,6 @@ class Matrix
}
private:
Coordinate _width {};
Coordinate _height {};
std::vector<T> _values;
-1
View File
@@ -40,7 +40,6 @@ std::ostream& operator<<(std::ostream& os, const InputVector& a);
class Network
{
public:
// Init a network with random values
Network(Coordinate width, Coordinate height, std::size_t inputDimCount);
@@ -203,7 +203,6 @@ class Response
void addArrayChild(const std::string& key, Node node);
private:
void setVersionAttribute(ProtocolVersion version);
friend class Response;
@@ -28,7 +28,6 @@ class FileResourceHandler final : public IResourceHandler
FileResourceHandler(const std::filesystem::path& filePath);
private:
Wt::Http::ResponseContinuation* processRequest(const Wt::Http::Request& request, Wt::Http::Response& response) override;
static constexpr std::size_t _chunkSize {65536};
-1
View File
@@ -26,7 +26,6 @@
class IConfig
{
public:
virtual ~IConfig() = default;
// Default values are returned in case of setting not found
-1
View File
@@ -28,7 +28,6 @@
class UUID
{
public:
static std::optional<UUID> fromString(std::string_view str);
std::string_view getAsString() const { return _value; }
-1
View File
@@ -40,7 +40,6 @@ namespace Zip
class Zipper
{
public:
Zipper(const std::map<std::string, std::filesystem::path>& files, const Wt::WDateTime& lastModifiedTime = {});
static constexpr SizeType minOutputBufferSize {64};