Commit 389da414 authored by Markus Blatt's avatar Markus Blatt

Prevent unused parmeter warnings for partition set.

parent 411048af
Pipeline #12318 passed with stage
in 36 minutes and 1 second
......@@ -141,7 +141,7 @@ namespace Dune {
//! Returns a new PartitionSet that also contains the partitions in set.
template<unsigned int p>
struct PartitionSet<partitions | p>
constexpr operator+(const PartitionSet<p>& set) const
constexpr operator+(const PartitionSet<p>&) const
{
return PartitionSet<partitions | p>();
}
......@@ -149,7 +149,7 @@ namespace Dune {
//! Returns a new PartitionSet that does not contain the partitions in set.
template<unsigned int p>
struct PartitionSet<partitions & ~p>
constexpr operator-(const PartitionSet<p>& set) const
constexpr operator-(const PartitionSet<p>&) const
{
return PartitionSet<partitions & ~p>();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment