Commit 6ebd1acf authored by Markus Blatt's avatar Markus Blatt

[!308] Prevent unused parmeter warnings for partition set.

Merge branch 'feature/prevent-unused-warning-partitonset' into 'master'

has been bothering me for some time.

See merge request [!308]

  [!308]: gitlab.dune-project.org/core/dune-grid/merge_requests/308


(cherry picked from commit a41d2404)

389da414 Prevent unused parmeter warnings for partition set.
parent 8518c7ab
Pipeline #12320 passed with stage
in 24 minutes and 17 seconds
......@@ -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