Skip to content

Commit

Permalink
Avoid unused variable warning in TestRangePolicyCTAD.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Mar 1, 2024
1 parent 04a5334 commit dc52491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/unit_test/TestRangePolicyCTAD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct TestRangePolicyCTAD {
}; // TestRangePolicyCTAD struct

// To eliminate maybe_unused warning on some compilers
const Kokkos::DefaultExecutionSpace des =
[[maybe_unused]] const Kokkos::DefaultExecutionSpace des =
TestRangePolicyCTAD::ImplicitlyConvertibleToDefaultExecutionSpace();

} // namespace
Expand Down

0 comments on commit dc52491

Please sign in to comment.