From: Wolfgang Bangerth Date: Tue, 3 Feb 2015 12:32:29 +0000 (-0600) Subject: Remove deprecated function Table::data. X-Git-Tag: v8.3.0-rc1~503^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa80355b327855a9177d1ed5c69b4e4b0ccc50cb;p=dealii.git Remove deprecated function Table::data. --- diff --git a/doc/news/changes.h b/doc/news/changes.h index 7a1a89e60e..b6cdc6b457 100644 --- a/doc/news/changes.h +++ b/doc/news/changes.h @@ -141,6 +141,7 @@ inconvenience this causes. - Deprecated members of namespace types. - Namespace deal_II_numbers. - MultithreadInfo::n_default_threads. + - Table::data.
With headers in deal.II/lac/: diff --git a/include/deal.II/base/table.h b/include/deal.II/base/table.h index d877ee9e1b..7498089893 100644 --- a/include/deal.II/base/table.h +++ b/include/deal.II/base/table.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2002 - 2014 by the deal.II authors +// Copyright (C) 2002 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -615,14 +615,6 @@ protected: */ typename AlignedVector::const_reference el (const TableIndices &indices) const; - /** - * @deprecated This function accesses data directly and should not be used! - * - * Direct read-only access to data field. Used by FullMatrix of the - * LAC sublibrary (there even with a cast from const), otherwise, keep away! - */ - typename AlignedVector::const_pointer data () const DEAL_II_DEPRECATED; - protected: /** * Component-array. @@ -2072,20 +2064,6 @@ TableBase::el (const TableIndices &indices) -template -inline -typename AlignedVector::const_pointer -TableBase::data () const -{ - if (values.size() == 0) - return typename AlignedVector::const_pointer(); - else - return &values[0]; -} - - - - template inline Table<1,T>::Table ()