mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
DuneMatrix: remove hackery of defining private as protected. This issues has been
resolved in dune-2.4.
This commit is contained in:
parent
b58aafe896
commit
9cf207f1fb
@ -33,10 +33,14 @@
|
||||
#include <dune/common/fmatrix.hh>
|
||||
#include <dune/common/version.hh>
|
||||
|
||||
#if DUNE_VERSION_NEWER(DUNE_ISTL,2,4)
|
||||
#include <dune/istl/bcrsmatrix.hh>
|
||||
#else
|
||||
// Include matrix header with hackery to make it possible to inherit.
|
||||
#define private protected
|
||||
#include <dune/istl/bcrsmatrix.hh>
|
||||
#undef private
|
||||
#endif
|
||||
|
||||
#include <opm/core/utility/platform_dependent/reenable_warnings.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user