Declare instantiations that are in another compile unit.

Silences warning from clang.
This commit is contained in:
Atgeirr Flø Rasmussen
2023-01-04 11:24:42 +01:00
parent 700bd6e174
commit 4bce15a973

View File

@@ -47,6 +47,13 @@
namespace Opm {
// Silence compiler warnings about use of variables
// that are instantiated in a different compilation unit.
template<>
const float CO2<float>::brineSalinity;
template<>
const double CO2<double>::brineSalinity;
/*!
* \brief A two-phase fluid system with water and CO2.
*