From 0b014f23ec29ac35f4428e54bd1699a43e33dcc3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 11 Feb 2021 07:04:15 -0700 Subject: [PATCH] Fix documentation in ArrayView. --- include/deal.II/base/array_view.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5