summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-23 14:33:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-24 07:46:46 +0100
commit976da2b60ebe4e8bb7c311c1c6325519db6c5bda (patch)
tree2038efb09576df24fac96fe78e93baa73130253e /hwpfilter/source
parentloplugin:constparams in connectivity..cui (diff)
downloadcore-976da2b60ebe4e8bb7c311c1c6325519db6c5bda.tar.gz
core-976da2b60ebe4e8bb7c311c1c6325519db6c5bda.zip
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/source')
-rw-r--r--hwpfilter/source/solver.cxx2
-rw-r--r--hwpfilter/source/solver.h2
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]