mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-28 22:14:24 -06:00
Fixed a few more warnings
This commit is contained in:
parent
5b287e0ea8
commit
91a6f4fc4a
@ -40,6 +40,18 @@
|
||||
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
|
||||
|
||||
|
||||
namespace {
|
||||
inline
|
||||
void silenceCompilerWarnings() {
|
||||
static_cast<void>(Opm::unit::stb);
|
||||
static_cast<void>(Opm::unit::liter);
|
||||
static_cast<void>(Opm::unit::barsa);
|
||||
static_cast<void>(Opm::unit::psia);
|
||||
static_cast<void>(Opm::unit::darcy);
|
||||
}
|
||||
}
|
||||
|
||||
namespace Opm
|
||||
{
|
||||
// Making these typedef to make the code more readable.
|
||||
|
Loading…
Reference in New Issue
Block a user