From e769fbdb10df0b42d3c457e284aef7c829c3f05d Mon Sep 17 00:00:00 2001 From: deal Date: Tue, 14 Dec 2004 04:13:37 +0000 Subject: [PATCH] Make one field const. git-svn-id: https://svn.dealii.org/trunk@9813 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/sparse_direct.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.5