Skip to content

Commit

Permalink
base/mpi.h: mark a template variable to have "const inline" linkage.
Browse files Browse the repository at this point in the history
  • Loading branch information
tamiko committed Feb 16, 2024
1 parent aafc2c1 commit 87c22c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/deal.II/base/mpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -1728,7 +1728,7 @@ namespace Utilities
* not satisfied.
*/
template <typename T>
const MPI_Datatype
inline const MPI_Datatype
mpi_type_id_for_type = internal::MPIDataTypes::mpi_type_id(
static_cast<std::remove_cv_t<std::remove_reference_t<T>> *>(nullptr));
#endif
Expand Down

0 comments on commit 87c22c5

Please sign in to comment.