ebos: avoid a few copies for opm-parser object

this is done by simply making these variables const references. these
were overlooked in the big opm-parser pointer-to-references-spree...
This commit is contained in:
Andreas Lauser
2016-12-16 18:45:43 +01:00
parent a6191a2345
commit 46071d5e82
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ public:
void finishInit()
{
const auto& gridView = simulator_.gridView();
auto deck = simulator_.gridManager().deck();
const auto& deck = simulator_.gridManager().deck();
unsigned numElements = gridView.size(/*codim=*/0);