Skip to content

Commit

Permalink
more sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Jan 28, 2025
1 parent 3910a54 commit 71f0a60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .gitlab-ci-correaa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -956,9 +956,8 @@ sonar:
- apt-get -qq update && apt-get -qq install --no-install-recommends -y --quiet ca-certificates cmake curl unzip g++ gcovr make lcov libboost-timer-dev libboost-serialization-dev libblas-dev libfftw3-dev pkg-config wget
- g++ --version
- mkdir build
# Download sonar-scanner
# Download sonar-scanner, from https://docs.sonarsource.com/sonarqube-cloud/advanced-setup/ci-based-analysis/sonarscanner-cli/
- wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.2.1.4610-linux-x64.zip -O sonar-scanner.zip
# - curl -sSLo ./sonar-scanner.zip 'https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-5.0.1.3006-linux.zip'
- unzip -o sonar-scanner.zip
- mv sonar-scanner-6.2.1.4610-linux-x64 sonar-scanner
# - Download build-wrapper
Expand Down
3 changes: 2 additions & 1 deletion include/boost/multi/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,8 @@ struct array<T, 0, Alloc> : static_array<T, 0, Alloc> {

template<class T, ::boost::multi::dimensionality_type D, class Alloc>
struct array : static_array<T, D, Alloc> {
~array() = default;
// ~array() = default;
~array() {} // sonar is asking for this, deallocation is handled by base class TODO(correaa) make constructors also defaulted to base?
using static_ = static_array<T, D, Alloc>;
static_assert(
std::is_same_v<
Expand Down

0 comments on commit 71f0a60

Please sign in to comment.