Skip to content

Commit 91fea2e

Browse files
authored
Merge pull request #690 from blattms/backport-of-pr-689
[baclport] Missing include guards added
2 parents 208edf8 + f111b49 commit 91fea2e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

opm/grid/LookUpData.hh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
You should have received a copy of the GNU General Public License
3232
along with OPM. If not, see <http://www.gnu.org/licenses/>.
3333
*/
34+
#ifndef OPM_LOOKUPDATA_HH
35+
#define OPM_LOOKUPDATA_HH
3436

3537
#include <dune/grid/common/mcmgmapper.hh>
3638

@@ -361,3 +363,5 @@ Opm::LookUpCartesianData<Grid,GridView>::getOriginIndex(const int& elemIdx) cons
361363
const auto& elem = Dune::cpgrid::Entity<0>(*(gridView_.grid().current_view_data_), elemIdx, true);
362364
return elem.getOrigin().index(); // getOrign() returns parent Entity or the equivalent Entity in level 0.
363365
}
366+
367+
#endif

0 commit comments

Comments
 (0)