From: deal Date: Tue, 14 Dec 2004 04:13:37 +0000 (+0000) Subject: Make one field const. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e769fbdb10df0b42d3c457e284aef7c829c3f05d;p=dealii-svn.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); }