]> https://gitweb.dealii.org/ - dealii.git/commit
Get rid of some unused friendship declarations. 3801/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 15 Jan 2017 02:53:53 +0000 (21:53 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 15 Jan 2017 02:53:53 +0000 (21:53 -0500)
commit81a80a72a3fa58856383dad8051c158fef4c3aed
treef8d2d2f931d864162295261798792a0624f70f76
parent73da9114e1783bd7ba33d972caf5ca159ec9da5f
Get rid of some unused friendship declarations.

Clang warns about the second one with the following:

/home/drwells/Documents/Code/CPP/dealii-dev-clang/include/deal.II/lac/sparse_matrix.h:1645:93: warning:
      dependent nested name specifier 'SparseMatrixIterators::Accessor<number2, false>::' for friend
      class declaration is not supported; turning off access control for 'SparseMatrix'
      [-Wunsupported-friend]
  template <typename number2> friend class SparseMatrixIterators::Accessor<number2, false>::Reference;

Additionally, MSVC runs into errors with this friendship
declaration (and can compile the library without it), so we can get rid
of it.
include/deal.II/lac/sparse_matrix.h

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.