Fixed a few more warnings

This commit is contained in:
babrodtk 2015-09-02 13:14:20 +02:00
parent 5b287e0ea8
commit 91a6f4fc4a

View File

@ -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.