mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-14 07:24:48 -05:00
Fixed a few more warnings
This commit is contained in:
@@ -40,6 +40,18 @@
|
|||||||
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
||||||
#include <opm/parser/eclipse/EclipseState/EclipseState.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
|
namespace Opm
|
||||||
{
|
{
|
||||||
// Making these typedef to make the code more readable.
|
// Making these typedef to make the code more readable.
|
||||||
|
|||||||
Reference in New Issue
Block a user