diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-23 14:33:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-24 07:46:46 +0100 |
commit | 976da2b60ebe4e8bb7c311c1c6325519db6c5bda (patch) | |
tree | 2038efb09576df24fac96fe78e93baa73130253e /hwpfilter | |
parent | 48fd4199a665130947033ee431db766c04d8d023 (diff) |
loplugin:constparams in dbaccess..oox
Change-Id: I9c04906dd492c6f8a816f57f40bc31406a871a78
Reviewed-on: https://gerrit.libreoffice.org/66793
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/solver.cxx | 2 | ||||
-rw-r--r-- | hwpfilter/source/solver.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/solver.cxx b/hwpfilter/source/solver.cxx index 83db1043d8c9..07889620f9c2 100644 --- a/hwpfilter/source/solver.cxx +++ b/hwpfilter/source/solver.cxx @@ -44,7 +44,7 @@ std::unique_ptr<double[]> mgcLinearSystemD::NewVector (int N) return B; } -bool mgcLinearSystemD::Solve (int n, std::unique_ptr<std::unique_ptr<double[]>[]>& a, double* b) +bool mgcLinearSystemD::Solve (int n, std::unique_ptr<std::unique_ptr<double[]>[]> const & a, double* b) { std::unique_ptr<int[]> indxc( new int[n] ); if ( !indxc ) diff --git a/hwpfilter/source/solver.h b/hwpfilter/source/solver.h index 4d2a5e3a8eb8..451ed068142a 100644 --- a/hwpfilter/source/solver.h +++ b/hwpfilter/source/solver.h @@ -26,7 +26,7 @@ public: static std::unique_ptr<std::unique_ptr<double[]>[]> NewMatrix (int N); static std::unique_ptr<double[]> NewVector (int N); - static bool Solve (int N, std::unique_ptr<std::unique_ptr<double[]>[]>& A, double* b); + static bool Solve (int N, std::unique_ptr<std::unique_ptr<double[]>[]> const & A, double* b); // Input: // A[N][N] coefficient matrix, entries are A[row][col] // b[N] vector, entries are b[row] |