From 1ab27f9ae6f32c7502884c02c2217bbdcf035c48 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 Oct 2018 16:19:20 +0200 Subject: loplugin:constfields in scaddins,sccomp Change-Id: I4d21cfcc65c099fbddbe5146fc1b8a6257971e32 Reviewed-on: https://gerrit.libreoffice.org/61555 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sccomp/source/solver/DifferentialEvolution.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sccomp/source/solver/DifferentialEvolution.hxx') diff --git a/sccomp/source/solver/DifferentialEvolution.hxx b/sccomp/source/solver/DifferentialEvolution.hxx index 7d18821350aa..a71af6d82fe7 100644 --- a/sccomp/source/solver/DifferentialEvolution.hxx +++ b/sccomp/source/solver/DifferentialEvolution.hxx @@ -29,12 +29,12 @@ template class DifferentialEvolutionAlgorithm DataProvider& mrDataProvider; - size_t mnPopulationSize; + size_t const mnPopulationSize; std::vector maPopulation; std::random_device maRandomDevice; std::mt19937 maGenerator; - size_t mnDimensionality; + size_t const mnDimensionality; std::uniform_int_distribution<> maRandomPopulation; std::uniform_int_distribution<> maRandomDimensionality; -- cgit