Skip to content

Commit

Permalink
Fix SonarQube issues
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Oct 5, 2023
1 parent 343bdf8 commit fa296e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/piscsi/piscsi_response.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class PiscsiResponse

const DeviceFactory device_factory;

const StatisticsCollector collector;
[[no_unique_address]] const StatisticsCollector collector;

void GetDeviceProperties(const Device&, PbDeviceProperties&) const;
void GetDevice(const Device&, PbDevice&, const string&) const;
Expand Down
2 changes: 0 additions & 2 deletions cpp/piscsi/statistics_collector.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class StatisticsCollector
{
friend class PiscsiResponse;

private:

StatisticsCollector() = default;
~StatisticsCollector() = default;

Expand Down

0 comments on commit fa296e0

Please sign in to comment.