mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed: add missing includes
and mark parameter maybe_unused
This commit is contained in:
parent
5f101a3d58
commit
d08ab74630
@ -28,6 +28,10 @@
|
|||||||
* \author Markus Blatt, OPM-OP AS
|
* \author Markus Blatt, OPM-OP AS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <dune/grid/common/datahandleif.hh>
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
|
||||||
namespace Opm
|
namespace Opm
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -86,7 +90,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<class BufferType, class EntityType>
|
template<class BufferType, class EntityType>
|
||||||
void scatter(BufferType& buffer, const EntityType& e, std::size_t n)
|
void scatter(BufferType& buffer, const EntityType& e,
|
||||||
|
[[maybe_unused]] std::size_t n)
|
||||||
{
|
{
|
||||||
assert(n == data_.size());
|
assert(n == data_.size());
|
||||||
for(auto& vec: data_)
|
for(auto& vec: data_)
|
||||||
|
Loading…
Reference in New Issue
Block a user