From 976da2b60ebe4e8bb7c311c1c6325519db6c5bda Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 23 Jan 2019 14:33:04 +0200 Subject: loplugin:constparams in dbaccess..oox Change-Id: I9c04906dd492c6f8a816f57f40bc31406a871a78 Reviewed-on: https://gerrit.libreoffice.org/66793 Tested-by: Jenkins Reviewed-by: Noel Grandin --- hwpfilter/source/solver.cxx | 2 +- hwpfilter/source/solver.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'hwpfilter/source') 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 mgcLinearSystemD::NewVector (int N) return B; } -bool mgcLinearSystemD::Solve (int n, std::unique_ptr[]>& a, double* b) +bool mgcLinearSystemD::Solve (int n, std::unique_ptr[]> const & a, double* b) { std::unique_ptr 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[]> NewMatrix (int N); static std::unique_ptr NewVector (int N); - static bool Solve (int N, std::unique_ptr[]>& A, double* b); + static bool Solve (int N, std::unique_ptr[]> const & A, double* b); // Input: // A[N][N] coefficient matrix, entries are A[row][col] // b[N] vector, entries are b[row] -- cgit