]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make one field const.
authordeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 14 Dec 2004 04:13:37 +0000 (04:13 +0000)
committerdeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 14 Dec 2004 04:13:37 +0000 (04:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@9813 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/sparse_direct.cc

index 1611aa0bccdbc9cbd3e4e3516939701fc9753299..5ea4ddc74e6066d54a42f5fcc62ad52798922e02 100644 (file)
@@ -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);
   }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.