From: Wolfgang Bangerth Date: Tue, 8 Aug 2017 21:17:28 +0000 (-0600) Subject: Remove a function that is now no longer used. X-Git-Tag: v9.0.0-rc1~1329^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beb7825080f0b836b9523cdb9941e61d05772182;p=dealii.git 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. --- 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.