From: kronbichler Date: Fri, 28 Nov 2008 07:31:20 +0000 (+0000) Subject: When running in multithreading mode, the lock is changed in a const function. Made... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14b425ecd1d565055f0007efcc4bd1ea7b749e7a;p=dealii-svn.git 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 --- 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