]> https://gitweb.dealii.org/ - dealii.git/commit
Work around a strange compiler issue.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 15 Nov 2022 14:47:03 +0000 (07:47 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 15 Nov 2022 14:47:03 +0000 (07:47 -0700)
commit754719717ace91da647735f5e9376b760da3948d
treea24e0508e5213c1a8048ae3544c8c8a53b708614
parentc38e3216cf4bf93d9ba3350eb2d8eaff9401d76d
Work around a strange compiler issue.

The MPI build bot complains that using a {...} initializer list would require the use
of a conversion constructor marked as 'explicit':

data_out_base.cc:1156:29: error: converting to ‘std::tuple<unsigned int, unsigned int>’ from initializer list would use explicit constructor ‘constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) [with _U1 = unsigned int&; _U2 = unsigned int&; <template-parameter-2-3> = void; _T1 = unsigned int; _T2 = unsigned int]’

That makes no sense, but let's appease the compiler by being explicit.
source/base/data_out_base.cc

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.