Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Core Modules
dune-localfunctions
Commits
fbafea20
Commit
fbafea20
authored
Mar 09, 2021
by
Christoph Grüninger
Browse files
Use [[maybe_unused]] instead of DUNE_UNUSED
parent
fdc3c686
Pipeline
#34609
passed with stage
in 22 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dune/localfunctions/test/test-finiteelementcache.cc
View file @
fbafea20
...
...
@@ -21,7 +21,7 @@ static void test(Dune::GeometryType type)
FiniteElementCache
cache
;
using
FiniteElement
=
typename
FiniteElementCache
::
FiniteElementType
;
DUNE_UNUSED
const
FiniteElement
&
finiteElement
=
cache
.
get
(
type
);
[[
maybe_unused
]]
const
FiniteElement
&
finiteElement
=
cache
.
get
(
type
);
}
int
main
()
{
...
...
dune/localfunctions/test/virtualshapefunctiontest.cc
View file @
fbafea20
...
...
@@ -55,7 +55,7 @@ void testLocalBasis(const LocalBasisVirtualInterface<T>* localBasis)
{
// call each method once to test that it's there
syntax_check
<
unsigned
int
>
(
localBasis
->
order
()
);
unsigned
int
size
DUNE_UNUSED
=
localBasis
->
size
();
[[
maybe_unused
]]
unsigned
int
size
=
localBasis
->
size
();
// evaluate the local basis at (0,...,0)
typename
T
::
DomainType
in
(
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment