From 14b425ecd1d565055f0007efcc4bd1ea7b749e7a Mon Sep 17 00:00:00 2001 From: kronbichler Date: Fri, 28 Nov 2008 07:31:20 +0000 Subject: [PATCH] When running in multithreading mode, the lock is changed in a const function. Made it mutable. git-svn-id: https://svn.dealii.org/trunk@17766 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_constraints.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/deal.II/include/dofs/dof_constraints.h b/deal.II/deal.II/include/dofs/dof_constraints.h index 197e7b1932..b6a757bf3a 100644 --- a/deal.II/deal.II/include/dofs/dof_constraints.h +++ b/deal.II/deal.II/include/dofs/dof_constraints.h @@ -1361,7 +1361,7 @@ class ConstraintMatrix : public Subscriptor * only accessible to one process at * time. */ - Threads::ThreadMutex mutex; + mutable Threads::ThreadMutex mutex; /** * A temporary array for the function -- 2.39.5