Addressed review comments.

This commit is contained in:
Markus Blatt 2023-04-12 12:26:39 +02:00
parent 9f6122938d
commit 1bb2cbd646

View File

@ -18,6 +18,7 @@
*/ */
#include <array> #include <array>
#include <deque> #include <deque>
#include <cstddef>
#include <opm/input/eclipse/Deck/Deck.hpp> #include <opm/input/eclipse/Deck/Deck.hpp>
#include <opm/input/eclipse/Deck/DeckItem.hpp> #include <opm/input/eclipse/Deck/DeckItem.hpp>
@ -296,7 +297,7 @@ bool is_neighbor(const EclipseGrid& grid, std::size_t g1, std::size_t g2) {
keyword, but we should be ready for a more elaborate implementation without keyword, but we should be ready for a more elaborate implementation without
any API change. any API change.
*/ */
KeywordLocation NNC::input_location([[maybe_unused]] const NNCdata& nnc) const { KeywordLocation NNC::input_location(const NNCdata& /* nnc */) const {
if (this->m_nnc_location) if (this->m_nnc_location)
return *this->m_nnc_location; return *this->m_nnc_location;
else else
@ -304,14 +305,14 @@ bool is_neighbor(const EclipseGrid& grid, std::size_t g1, std::size_t g2) {
} }
KeywordLocation NNC::edit_location([[maybe_unused]] const NNCdata& nnc) const { KeywordLocation NNC::edit_location(const NNCdata& /* nnc */) const {
if (this->m_edit_location) if (this->m_edit_location)
return *this->m_edit_location; return *this->m_edit_location;
else else
return {}; return {};
} }
KeywordLocation NNC::editr_location([[maybe_unused]] const NNCdata& nnc) const { KeywordLocation NNC::editr_location(const NNCdata& /* nnc */) const {
if (this->m_editr_location) if (this->m_editr_location)
return *this->m_editr_location; return *this->m_editr_location;
else else