Commit 1ed2788c authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos 🇨🇴

[!23] fix gcc 10 compilation issue #24

Merge branch 'fix_gcc_10_compilation' into 'master'

ref:copasi/dune-copasi\>

-   non-const lambdas defined in a header have external linkage
    -   so if two compilation units include them get 'multiple definition'
        errors (at least with gcc 10)
    -   put lambdas defined in a header file inside anonymous namespace to
        resolve this
    -   resolves [#24]

Closes [#24]

See merge request [!23]

  [#24]: gitlab.dune-project.org/NoneNone/issues/24
  [!23]: gitlab.dune-project.org/copasi/dune-copasi/merge_requests/23


Closes #24
parents fd91d641 8df4028a
Pipeline #28406 failed with stages
in 10 minutes and 47 seconds