From fa80355b327855a9177d1ed5c69b4e4b0ccc50cb Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 3 Feb 2015 06:32:29 -0600 Subject: [PATCH] Remove deprecated function Table::data. --- doc/news/changes.h | 1 + include/deal.II/base/table.h | 24 +----------------------- 2 files changed, 2 insertions(+), 23 deletions(-) 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 () -- 2.39.5