From: deal Date: Tue, 14 Dec 2004 04:13:37 +0000 (+0000) Subject: Make one field const. X-Git-Tag: v8.0.0~14660 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3da5b7047a5aee95d1592b76e2417405552732a2;p=dealii.git Make one field const. git-svn-id: https://svn.dealii.org/trunk@9813 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/sparse_direct.cc b/deal.II/lac/source/sparse_direct.cc index 1611aa0bcc..5ea4ddc74e 100644 --- a/deal.II/lac/source/sparse_direct.cc +++ b/deal.II/lac/source/sparse_direct.cc @@ -292,8 +292,8 @@ namespace CommunicationsLog const unsigned int completed_bytes, const std::string &descr) { - Record record = {child_pid, direction, &typeid(T), count, - sizeof(T)*count, completed_bytes, descr}; + const Record record = {child_pid, direction, &typeid(T), count, + sizeof(T)*count, completed_bytes, descr}; Threads::ThreadMutex::ScopedLock lock (list_access_lock); communication_log.push_back (record); }