Declare instantiations that are in another compile unit.
Silences warning from clang.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user