From: Wolfgang Bangerth Date: Thu, 11 Feb 2021 14:04:15 +0000 (-0700) Subject: Fix documentation in ArrayView. X-Git-Tag: v9.3.0-rc1~462^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b014f23ec29ac35f4428e54bd1699a43e33dcc3;p=dealii.git Fix documentation in ArrayView. --- diff --git a/include/deal.II/base/array_view.h b/include/deal.II/base/array_view.h index 087c8421c8..17676e8c7d 100644 --- a/include/deal.II/base/array_view.h +++ b/include/deal.II/base/array_view.h @@ -174,10 +174,10 @@ public: * A constructor that automatically creates a view for a given C-style array. * This constructor can be used as follows: * @code - * ArrayView + * ArrayView * get_data_table () * { - * const int my_data[7] = { 1, 1, 2, 3, 5, 8, 13 }; + * static const int my_data[7] = { 1, 1, 2, 3, 5, 8, 13 }; * return {my_data}; * } * @endcode