From beb7825080f0b836b9523cdb9941e61d05772182 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 8 Aug 2017 15:17:28 -0600 Subject: [PATCH] Remove a function that is now no longer used. We use boost serialization, rather than setting up a fixed-sized buffer into which we memcpy things. --- source/dofs/dof_handler_policy.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index 811208a226..e5ab77d638 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -2662,16 +2662,6 @@ namespace internal std::vector dof_numbers_and_indices; - unsigned int bytes_for_buffer () const - { - return (sizeof(unsigned int)*2 + - tree_indices.size() * sizeof(unsigned int) + - quadrants.size() * sizeof(typename dealii::internal::p4est - ::types::quadrant) + - dof_numbers_and_indices.size() * sizeof(dealii::types::global_dof_index)); - } - - /** * Write the data of this object to a stream for the purpose of * serialization. -- 2.39.5